CameraType class

Identifier of a type of physical camera on the device

Signature:

export declare abstract class CameraType 

Properties

PropertyModifiersTypeDescription
FrontFacing

static

readonly

(not declared)The main camera on the front side of the phone
RearFacing

static

readonly

(not declared)The main camera on the back side of the phone

CameraType.FrontFacing property

The main camera on the front side of the phone

Signature:

static readonly FrontFacing = 0;

CameraType.RearFacing property

The main camera on the back side of the phone

Signature:

static readonly RearFacing = 1;