Contents

setChannelDescriptor(_:channelUUID:completionHandler:)

Sets the channel description.

Declaration

func setChannelDescriptor(_ channelDescriptor: PTChannelDescriptor, channelUUID: UUID, completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
func setChannelDescriptor(_ channelDescriptor: PTChannelDescriptor, channelUUID: UUID) async throws

Parameters

  • channelDescriptor:

    The channel description.

  • channelUUID:

    The channel identifier.

  • completionHandler:

    The completion handler.

    error

    An error, if any, that indicates the reason why the system couldn’t set the channel descriptor.

Mentioned in

Discussion