Package apple.replaykit.protocol
Interface RPScreenRecorderDelegate
-
public interface RPScreenRecorderDelegateAPI-Since: 9.0
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidscreenRecorderDidChangeAvailability(@NotNull RPScreenRecorder screenRecorder)Called when the recorder becomes available or stops being available.default voidscreenRecorderDidStopRecordingWithErrorPreviewViewController(@NotNull RPScreenRecorder screenRecorder, @NotNull NSError error, @Nullable RPPreviewViewController previewViewController)Deprecated.default voidscreenRecorderDidStopRecordingWithPreviewViewControllerError(@NotNull RPScreenRecorder screenRecorder, @Nullable RPPreviewViewController previewViewController, @Nullable NSError error)API-Since: 11.0
-
-
-
Method Detail
-
screenRecorderDidStopRecordingWithErrorPreviewViewController
@Deprecated default void screenRecorderDidStopRecordingWithErrorPreviewViewController(@NotNull @NotNull RPScreenRecorder screenRecorder, @NotNull @NotNull NSError error, @Nullable @Nullable RPPreviewViewController previewViewController)Deprecated.Called when recording has stopped due to an error.- Parameters:
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. API-Since: 9.0 Deprecated-Since: 10.0 Deprecated-Message: No longer supported
-
screenRecorderDidChangeAvailability
default void screenRecorderDidChangeAvailability(@NotNull @NotNull RPScreenRecorder screenRecorder)Called when the recorder becomes available or stops being available. Check the screen recorder's availability property to check the current availability state. Possible reasons for the recorder to be unavailable include an in-progress Airplay/TVOut session or unsupported hardware.- Parameters:
screenRecorder- The instance of the screen recorder.
-
screenRecorderDidStopRecordingWithPreviewViewControllerError
default void screenRecorderDidStopRecordingWithPreviewViewControllerError(@NotNull @NotNull RPScreenRecorder screenRecorder, @Nullable @Nullable RPPreviewViewController previewViewController, @Nullable @Nullable NSError error)API-Since: 11.0
-
-