Enum Class Metadata.FlashMode

java.lang.Object
java.lang.Enum<Metadata.FlashMode>
com.digimarc.capture.camera.Metadata.FlashMode
All Implemented Interfaces:
Serializable, Comparable<Metadata.FlashMode>, Constable
Enclosing class:
Metadata

public static enum Metadata.FlashMode extends Enum<Metadata.FlashMode>
Note in the definitions below that the actual values for the constants can be different between Camera1 and Camera2, even though the constant names appear similar. The constants for each value exist in the following namespaces.

Camera1 - Camera.Parameters Camera2 - CameraMetadata

  • Enum Constant Details

    • None

      public static final Metadata.FlashMode None
      No flash present or camera metadata unavailable
    • Off

      public static final Metadata.FlashMode Off
      Camera1 - FLASH_MODE_OFF Camera2 - FLASH_MODE_OFF
    • Auto

      public static final Metadata.FlashMode Auto
      Camera1 - FLASH_MODE_AUTO Camera2 - not used
    • On

      public static final Metadata.FlashMode On
      Camera1 - FLASH_MODE_ON Camera2 - FLASH_MODE_SINGLE - the flash fired on the last frame
    • RedEye

      public static final Metadata.FlashMode RedEye
      Camera1 - FLASH_MODE_RED_EYE Camera2 - not used
    • Torch

      public static final Metadata.FlashMode Torch
      Camera1 - FLASH_MODE_TORCH Camera2 - FLASH_MODE_TORCH
  • Method Details

    • values

      public static Metadata.FlashMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Metadata.FlashMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null