<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PushToTalk",
  "identifier" : "/documentation/PushToTalk/PTChannelLeaveReason",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Push to Talk"
    ],
    "preciseIdentifier" : "c:@E@PTChannelLeaveReason"
  },
  "title" : "PTChannelLeaveReason"
}
-->

# PTChannelLeaveReason

Identifies the type that indicates the leave reason.

```
enum PTChannelLeaveReason
```

## Topics

### Leave reasons

[`case userRequest`](/documentation/PushToTalk/PTChannelLeaveReason/userRequest)

A leave reason that indicates a user pressed the leave button in the user interface.

[`case developerRequest`](/documentation/PushToTalk/PTChannelLeaveReason/developerRequest)

A leave reason that indicates the app calls the leave channel method.

[`case systemPolicy`](/documentation/PushToTalk/PTChannelLeaveReason/systemPolicy)

A leave reason that indicates a new device restriction is in effect.

[`case unknown`](/documentation/PushToTalk/PTChannelLeaveReason/unknown)

A leave reason that indicates an unknown reason.

### Initializers

[`init?(rawValue: Int)`](/documentation/PushToTalk/PTChannelLeaveReason/init(rawValue:))

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)