Enum AnyINPUT.File.Capture

java.lang.Object
java.lang.Enum<AnyINPUT.File.Capture>
com.aoapps.html.any.AnyINPUT.File.Capture
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 Details

    • USER

      public static final AnyINPUT.File.Capture USER
      The source is facing toward the user (a self-view camera).
    • ENVIRONMENT

      public static final AnyINPUT.File.Capture ENVIRONMENT
      The source is facing away from the user (viewing the environment).
    • LEFT

      public static final AnyINPUT.File.Capture LEFT
      The source is facing to the left of the user.
  • Method Details

    • values

      public static AnyINPUT.File.Capture[] 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

      public static AnyINPUT.File.Capture valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AnyINPUT.File.Capture>
    • apply

      public String apply(AnyDocument<?> document)
      Specified by:
      apply in interface Function<AnyDocument<?>,String>