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.