Instance Property

isCameraEnabled

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

Declaration

var isCameraEnabled: Bool { get set }

Discussion

When set to true, the camera is currently enabled. You can use this property for key-value observing. Defaults to false.

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 cameraPreviewView: UIView?

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

var cameraPosition: RPCameraPosition

The camera position to be used.

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.