- All Implemented Interfaces:
Serializable
,Comparable<AnyINPUT.File.Capture>
,Function<AnyDocument<?>,
String>
- Enclosing class:
AnyINPUT.File<D extends AnyDocument<D>,
PC extends AnyUnion_Interactive_Phrasing<D, PC>, E extends AnyINPUT.File<D, PC, E>>
public static enum AnyINPUT.File.Capture
extends Enum<AnyINPUT.File.Capture>
implements Function<AnyDocument<?>,String>
- Since:
- HTML 5
-
Enum Constant Summary
Enum ConstantDescriptionThe source is facing away from the user (viewing the environment).The source is facing to the left of the user.The source is facing to the right of the user.The source is facing toward the user (a self-view camera). -
Method Summary
Modifier and TypeMethodDescriptionapply
(AnyDocument<?> document) toString()
static AnyINPUT.File.Capture
Returns the enum constant of this type with the specified name.static AnyINPUT.File.Capture[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
USER
The source is facing toward the user (a self-view camera). -
ENVIRONMENT
The source is facing away from the user (viewing the environment). -
LEFT
The source is facing to the left of the user. -
RIGHT
The source is facing to the right of the user.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<AnyINPUT.File.Capture>
-
apply
- Specified by:
apply
in interfaceFunction<AnyDocument<?>,
String>
-