Contents

leaveChannel(channelUUID:)

Leaves a channel with the identifier.

Declaration

func leaveChannel(channelUUID: UUID)

Parameters

  • channelUUID:

    The channel identifier.

Discussion

If successful, you receive a callback from channelManager(_:didLeaveChannel:reason:) with PTChannelLeaveReason.programmaticRequest; otherwise, you receive a failure reason through channelManager(_:failedToLeaveChannel:error:).

See Also

Joining and leaving a channel