requestBeginTransmitting(channelUUID:)
Begins an audio transmission with the channel identifer you specify.
Declaration
func requestBeginTransmitting(channelUUID: UUID)Parameters
- channelUUID:
The channel identifier.
Mentioned in
Discussion
Your app can only begin a transmission when in the foreground, or following a Core Bluetooth event, such as when a wireless accessory button triggers a Core Bluetooth characteristic change. The user may also begin a transmission by using the Push to Talk system user interface.
If successful, you receive a callback from channelManager(_:channelUUID:didBeginTransmittingFrom:) with PTChannelTransmitRequestSource.programmaticRequest; otherwise, you receive a failure reason through channelManager(_:failedToBeginTransmittingInChannel:error:).