Packagecom.myflashlab.air.extensions.ar
Classpublic class CameraPosition
InheritanceCameraPosition Inheritance Object

CameraPosition can be used to define which camera should be used.



Public Constants
 ConstantDefined By
  BACK : int = 2
[static] The SDK will try to start the back-facing camera, if the back-facing camera is not available the SDK will use the first available camera.
CameraPosition
  DEFAULT : int = 0
[static] The first available camera is used, this may be the front, back or external camera.
CameraPosition
  FRONT : int = 1
[static] The SDK will try to start the front-facing camera, if the front-facing camera is not available the SDK will use the first available camera.
CameraPosition
Constant Detail
BACKConstant
public static const BACK:int = 2

The SDK will try to start the back-facing camera, if the back-facing camera is not available the SDK will use the first available camera.

DEFAULTConstant 
public static const DEFAULT:int = 0

The first available camera is used, this may be the front, back or external camera.

FRONTConstant 
public static const FRONT:int = 1

The SDK will try to start the front-facing camera, if the front-facing camera is not available the SDK will use the first available camera.