---
title: PTChannelError.Code.transmissionNotAllowed
framework: pushtotalk
role: symbol
role_heading: Case
path: pushtotalk/ptchannelerror-swift.struct/code/transmissionnotallowed
---

# PTChannelError.Code.transmissionNotAllowed

A channel error that indicates the current transmission mode of the channel doesn’t allow the mode you specify.

## Declaration

```swift
case transmissionNotAllowed
```

## See Also

### Error codes

- [PTChannelError.Code.unknown](pushtotalk/ptchannelerror-swift.struct/code/unknown.md)
- [PTChannelError.Code.appNotForeground](pushtotalk/ptchannelerror-swift.struct/code/appnotforeground.md)
- [PTChannelError.Code.channelNotFound](pushtotalk/ptchannelerror-swift.struct/code/channelnotfound.md)
- [PTChannelError.Code.channelLimitReached](pushtotalk/ptchannelerror-swift.struct/code/channellimitreached.md)
- [PTChannelError.Code.callActive](pushtotalk/ptchannelerror-swift.struct/code/callactive.md)
- [PTChannelError.Code.transmissionInProgress](pushtotalk/ptchannelerror-swift.struct/code/transmissioninprogress.md)
- [PTChannelError.Code.transmissionNotFound](pushtotalk/ptchannelerror-swift.struct/code/transmissionnotfound.md)
- [PTChannelError.Code.deviceManagementRestriction](pushtotalk/ptchannelerror-swift.struct/code/devicemanagementrestriction.md)
- [PTChannelError.Code.screenTimeRestriction](pushtotalk/ptchannelerror-swift.struct/code/screentimerestriction.md)
