CameraView.CameraType


enum CameraView.CameraType : Enum


Describes the type of camera that this CameraView represents.

Summary

Enum Values

LEFT_EYE

This CameraView represents the user's left eye.

RIGHT_EYE

This CameraView represents the user's right eye.

UNKNOWN

This CameraView represents an unknown camera view.

Public functions

CameraView.CameraType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<CameraView.CameraType>

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

Public properties

EnumEntries<CameraView.CameraType>

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

Enum Values

LEFT_EYE

val CameraView.CameraType.LEFT_EYECameraView.CameraType

This CameraView represents the user's left eye.

RIGHT_EYE

val CameraView.CameraType.RIGHT_EYECameraView.CameraType

This CameraView represents the user's right eye.

UNKNOWN

val CameraView.CameraType.UNKNOWNCameraView.CameraType

This CameraView represents an unknown camera view.

Public functions

valueOf

Added in 1.0.0-alpha04
fun valueOf(value: String): CameraView.CameraType

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

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0-alpha04
fun values(): Array<CameraView.CameraType>

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

This method may be used to iterate over the constants.

Public properties

entries

val entriesEnumEntries<CameraView.CameraType>

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

This method may be used to iterate over the enum entries.