Contents

startBroadcast(handler:)

Starts a broadcast.

Declaration

func startBroadcast(handler: @escaping ((any 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 Rprecordingerrorcode for a list of error codes specific to ReplayKit.

See Also

Controlling the Broadcast