DeviceType

Represents the type of a physical or logical Camera lens on the CameraDevice.

See also

Entries

Link copied to clipboard

Physical: the default Camera, with a wide field of view.

Link copied to clipboard

Physical: a very wide-angle lens, capturing a much larger field of view.

Link copied to clipboard

Physical: a lens with a longer focal length, used for optical zoom.

Link copied to clipboard

Logical: a combination of a wide-angle and a telephoto lens.

Link copied to clipboard

Logical: a combination of a wide-angle and an ultra-wide-angle lens.

Link copied to clipboard

Logical: a combination of three physical Cameras (typically ultra-wide, wide, and telephoto).

Link copied to clipboard

Logical: a combination of four physical Cameras.

Link copied to clipboard

Physical: an external Continuity Camera (iPhone used as a Camera on macOS).

Link copied to clipboard

Physical: a LiDAR-based depth sensor.

Link copied to clipboard

Physical: a structured-light based depth sensor (such as the FaceID front Camera).

Link copied to clipboard

Physical: a time-of-flight based depth sensor.

Link copied to clipboard

Physical: a generic external Camera (e.g. USB).

Link copied to clipboard

The Camera type is unknown or not reported.

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
expect val name: String
Link copied to clipboard
expect val ordinal: Int

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.