public interface RPScreenRecorderDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
screenRecorderDidChangeAvailability(RPScreenRecorder screenRecorder)
Called when the recorder becomes available or stops being available.
|
default void |
screenRecorderDidStopRecordingWithErrorPreviewViewController(RPScreenRecorder screenRecorder,
NSError error,
RPPreviewViewController previewViewController)
Called when recording has stopped due to an error.
|
default void |
screenRecorderDidStopRecordingWithPreviewViewControllerError(RPScreenRecorder screenRecorder,
RPPreviewViewController previewViewController,
NSError error) |
default void screenRecorderDidStopRecordingWithErrorPreviewViewController(RPScreenRecorder screenRecorder, NSError error, RPPreviewViewController previewViewController)
screenRecorder - The instance of the screen recorder.error - An NSError describing why recording has stopped in the RPRecordingErrorDomain.previewViewController - If a partial movie is available before it was stopped, an instance of RPPreviewViewController will be returned.default void screenRecorderDidChangeAvailability(RPScreenRecorder screenRecorder)
screenRecorder - The instance of the screen recorder.default void screenRecorderDidStopRecordingWithPreviewViewControllerError(RPScreenRecorder screenRecorder, RPPreviewViewController previewViewController, NSError error)