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

# getDevice()

Returns the Bluetooth Device that carries the rfcomm data.

## Declaration

```swift
func getDevice() -> IOBluetoothDevice!
```

## Return Value

Return Value The IOBluetoothDevice object .
