Framework

Replay​Kit

Record or stream video from the screen, and audio from the app and microphone.

Overview

Using the ReplayKit framework, users can record video from the screen, and audio from the app and microphone. They can then share their recordings with other users through email, messages, and social media. You can build app extensions for live broadcasting your content to sharing services. ReplayKit is incompatible with AVPlayer content.

Symbols

Media Clip Processing

RPBroadcast​Controller

An object containing methods for starting and controlling a broadcast.

RPBroadcast​Handler

An object that sends messages to the broadcasting app.

RPBroadcast​MP4Clip​Handler

An object that processes MP4 movie clips from ReplayKit.

RPBroadcast​Sample​Handler

An object that processes buffer objects as they are received from ReplayKit.

Live Broadcast Implementation

RPBroadcast​Activity​View​Controller

An object that displays a user interface where users choose a broadcast service.

RPBroadcast​Activity​View​Controller​Delegate

The protocol you implement to respond to changes to a broadcast activity user interface.

RPBroadcast​Configuration

An object used to configure the movie clips produced during a live broadcast.

RPBroadcast​Controller​Delegate

The protocol you implement to respond to changes in a live broadcast.

Replay Sharing

RPPreview​View​Controller

An object that displays a user interface where users preview and edit a screen recording created with ReplayKit.

RPPreview​View​Controller​Delegate

The protocol you implement to respond to changes to a screen-recording user interface.

RPScreen​Recorder

The shared recorder object providing the ability to record audio and video of your app.

RPScreen​Recorder​Delegate

The protocol you implement to receive notifications from the screen recorder.

Constants and Enumerations

Replay​Kit Constants

ReplayKit constants affecting multiple classes.

Replay​Kit Enumerations

ReplayKit enumerations affecting multiple classes.

Extended Types

NSExtension​Context

Represents the host app context from which an app extension is invoked.