public static enum CameraSettings.Camera2SupportLevel extends Enum<CameraSettings.Camera2SupportLevel>
Camera2SupportLevel
type can be used to define which camera2 support level is required for the Wikitude SDK to use the camera2 API instead of the old camera API.Enum Constant and Description |
---|
FULL
FULL correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_FULL |
LEGACY
LEGACY correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY |
LEVEL_3
LEVEL_3 correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_3 |
LIMITED
LIMITED correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED |
Modifier and Type | Method and Description |
---|---|
static CameraSettings.Camera2SupportLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CameraSettings.Camera2SupportLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CameraSettings.Camera2SupportLevel LIMITED
LIMITED
correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LIMITED
public static final CameraSettings.Camera2SupportLevel FULL
FULL
correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_FULL
public static final CameraSettings.Camera2SupportLevel LEGACY
LEGACY
correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY
public static final CameraSettings.Camera2SupportLevel LEVEL_3
LEVEL_3
correspods to CameraMetadata.INFO_SUPPORTED_HARDWARE_LEVEL_3
public static CameraSettings.Camera2SupportLevel[] values()
for (CameraSettings.Camera2SupportLevel c : CameraSettings.Camera2SupportLevel.values()) System.out.println(c);
public static CameraSettings.Camera2SupportLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null