Instance Method

startBroadcast(handler:)

Starts a broadcast.

Declaration

func startBroadcast(handler: @escaping (Error?) -> Void)

Parameters

handler

A block that is called after a broadcast has started.

error

If an error occurred, this parameter holds an object that explains the error. Otherwise, the value of this parameter is nil. See Errors for a list of error codes specific to ReplayKit.

See Also

Controlling the Broadcast

var broadcastURL: URL

A URL that redirects users to an ongoing or completed broadcast.

func pauseBroadcast()

Pauses the current broadcast.

func resumeBroadcast()

Resumes a paused broadcast.

var serviceInfo: [String : NSCoding & NSObjectProtocol]?

Information updated by the service during a broadcast.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software