<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothL2CAPChannel/objectID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothL2CAPChannel(py)objectID"
  },
  "title" : "objectID"
}
-->

# objectID

Returns the IOBluetoothObjectID of the given IOBluetoothL2CAPChannel.

```
var objectID: IOBluetoothObjectID { get }
```

## Discussion

The IOBluetoothObjectID can be used as a global reference for a given IOBluetoothL2CAPChannel. It allows two separate applications to refer to the same IOBluetoothL2CAPChannel.

## See Also

[`-  getObjectID`](/documentation/IOBluetooth/IOBluetoothL2CAPChannel/getObjectID)

Returns the IOBluetoothObjectID of the given IOBluetoothL2CAPChannel.



---

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)