Instance Property

cameraPosition

The camera position to be used.

Declaration

var cameraPosition: RPCameraPosition { get set }

Discussion

Default value is AVCaptureDevice.Position.front. This property can be used for key-value observing.

See Also

Accessing Screen Recorder Properties

var isAvailable: Bool

A Boolean value that indicates whether the screen recorder is available for recording.

var isRecording: Bool

A Boolean value that indicates whether the app is currently recording.

var isMicrophoneEnabled: Bool

A Boolean value that indicates whether the microphone is currently enabled.

var isCameraEnabled: Bool

A Boolean value that indicates whether the camera is currently enabled.

var cameraPreviewView: UIView?

A view containing the contents of the front-facing camera.

enum RPCameraPosition

The position of the camera being accessed.

var delegate: RPScreenRecorderDelegate?

The delegate for the screen recorder.

protocol RPScreenRecorderDelegate

The protocol you implement to receive notifications from the screen recorder.