---
title: getID()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothrfcommchannel/getid()
---

# getID()

Returns the object rfcomm channel ID.

## Declaration

```swift
func getID() -> BluetoothRFCOMMChannelID
```
