Position

Indicates the physical location or category of the camera device.

The value is serialized as a lowercase string to keep compatibility with other platforms and external representations.

Entries

Link copied to clipboard
@SerialName(value = "front")
FRONT

Camera located on the front side of the device (typically used for selfies).

Link copied to clipboard
@SerialName(value = "back")
BACK

Camera located on the back side of the device (main camera).

Link copied to clipboard
@SerialName(value = "external")
EXTERNAL

External camera such as USB/UVC connected device.

Link copied to clipboard
@SerialName(value = "unspecified")
UNSPECIFIED

Position could not be determined or is not provided by the system.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.