Interface RPScreenRecorderDelegate


  • public interface RPScreenRecorderDelegate
    API-Since: 9.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