API reference

CameraFacing Enum

Specifies which phone camera to use as the mock device camera source.
When passed to MockCameraKit.setCameraFeed, the mock device will stream frames from the phone's physical camera instead of from a video file.

See Also

Signature

enum CameraFacing : Enum<CameraFacing> 

Enumeration Constants

MemberDescription
FRONT
Use the front-facing (selfie) camera.
BACK
Use the back-facing (main) camera.