Package com.digimarc.capture.camera
Enum Class CameraHelper.CameraLevel
- All Implemented Interfaces:
- Serializable,- Comparable<CameraHelper.CameraLevel>,- Constable
- Enclosing class:
- CameraHelper
Allows an app to specify what type of camera support (i.e. which camera API and what image format)
 it would like to use. Note that specifying a camera level is a request. The camera support used
 in a camera session may be different from that requested depending on what capabilities the device
 supports.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionCamera1 API will always be used no matter what APIs the device supports.Camera2 API will be used if possible, otherwise app will fall back to Camera1.Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionstatic CameraHelper.CameraLevelReturns the enum constant of this class with the specified name.static CameraHelper.CameraLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.EnumcompareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
Camera1Camera1 API will always be used no matter what APIs the device supports.
- 
Camera2Camera2 API will be used if possible, otherwise app will fall back to Camera1. RAW support will not be used no matter what the device capabilities are.
- 
Camera2_RawDeprecated.Note that RAW camera support is deprecated and will be removed in a future SDK version.Camera2 API will be used if possible, otherwise app will fall back to Camera1. RAW support will be used if the device supports it and it is specified in the camera configuration parameters. 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-