Instance Method

finishBroadcast(handler:)

Stops the current broadcast.

Declaration

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

Parameters

handler

A block that is called after the broadcast has finished.

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.

Discussion

Use this method when the user is finished with a broadcast. To temporarily pause a broadcast, use pauseBroadcast().

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.