iOS Guides | Samples

MonoTouch.ReplayKit Namespace

Allows screen recording within an iOS app.

Remarks

The ReplayKit namespace provides classes that allows screen recording of the developer's application. Additionally, it provides a standard RPPreviewViewController view controller that allows the user to preview, trim, and share the recording.

Developers must use the RPScreenRecorder.SharedRecorder singleton to create replays.

C# Example

if (RPScreenRecorder.SharedRecorder.Available)
{
    recordingTask = RPScreenRecorder.SharedRecorder.StartRecordingAsync(true);
}
//...etc...
RPPreviewViewController controller = await RPScreenRecorder.SharedRecorder.StopRecordingAsync();
this.NavigationController.PushViewController(controller, true);

Classes

TypeReason
IRPBroadcastActivityViewControllerDelegateInterface representing the required methods (if any) of the protocol RPBroadcastActivityViewControllerDelegate.
IRPBroadcastControllerDelegateInterface representing the required methods (if any) of the protocol RPBroadcastControllerDelegate.
IRPPreviewViewControllerDelegateInterface representing the required methods (if any) of the protocol RPPreviewViewControllerDelegate.
IRPScreenRecorderDelegateInterface representing the required methods (if any) of the protocol RPScreenRecorderDelegate.
LoadBroadcastingHandlerDelegate that specifies the signature of the completion handler in calls to the noTouch.ReplayKit.NSExtensionContext_RPBroadcastExtension.LoadBroadcastingApplicationInfo method.
NSExtensionContext_RPBroadcastExtension
RPBroadcastActivityViewControllerPresents a user interface for choosing third-party broadcast services.
RPBroadcastActivityViewControllerDelegateResponds to changes in the UI that is presented by a RPBroadcastActivityViewController.
RPBroadcastConfiguration
RPBroadcastControllerManages an audio or video broadcast stream.
RPBroadcastControllerDelegateDelegate object that responds to changes in a broadcast.
RPBroadcastControllerDelegate_ExtensionsExtension methods to the IRPBroadcastControllerDelegate interface to support all the methods from the RPBroadcastControllerDelegate protocol.
RPBroadcastHandlerBase class for managing Replay Kit broadcasts.
RPBroadcastMP4ClipHandler
RPBroadcastSampleHandler
RPPreviewViewControllerA view controller for previewing and editing a ReplayKit recording.
RPPreviewViewControllerDelegateThe view controller protocol for previewing and editing a ReplayKit recording.
RPPreviewViewControllerDelegate_ExtensionsExtension methods to the IRPPreviewViewControllerDelegate interface to support all the methods from the RPPreviewViewControllerDelegate protocol.
RPRecordingErrorEnumerates errors that can be encountered while recording.
RPRecordingErrorExtensionsExtension methods for the MonoTouch.ReplayKit.RPRecordingError enumeration.
RPSampleBufferType
RPScreenRecorderEnables the user to record visual and audio output of applications, with simultaneous recorded audio (screencasts).
RPScreenRecorderDelegateProtocol for enabling the user to record visual and audio output of applications, with simultaneous recorded audio (screencasts)..
RPScreenRecorderDelegate_ExtensionsExtension methods to the IRPScreenRecorderDelegate interface to support all the methods from the RPScreenRecorderDelegate protocol.