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

# getRef()

Returns an IOBluetoothRFCOMMChannelRef representation of the target IOBluetoothRFCOMMChannel object.

## Declaration

```swift
func getRef() -> Unmanaged<IOBluetoothRFCOMMChannelRef>!
```

## Return Value

Return Value Returns an IOBluetoothRFCOMMChannelRef representation of the target IOBluetoothRFCOMMChannel object.
