Instance Property

cameraPreviewView

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

Declaration

var cameraPreviewView: UIView? { get }

Discussion

If the camera has not been enabled, this property is nil.

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 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.