---
title: getDevice()
framework: IOBluetooth UI
role: symbol
role_heading: Instance Method
platforms: [macOS 10.2+]
path: iobluetoothui/iobluetoothobjectpushuicontroller/getdevice()
---

# getDevice()

Gets the object representing the remote target device in the transfer.

## Declaration

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

## Return Value

Return Value The remote device of the transfer.

## See Also

### Instance Methods

- [beginSheetModal(for:modalDelegate:didEnd:contextInfo:)](iobluetoothui/iobluetoothobjectpushuicontroller/beginsheetmodal(for:modaldelegate:didend:contextinfo:).md)
- [getTitle()](iobluetoothui/iobluetoothobjectpushuicontroller/gettitle().md)
- [isTransferInProgress()](iobluetoothui/iobluetoothobjectpushuicontroller/istransferinprogress().md)
- [runModal()](iobluetoothui/iobluetoothobjectpushuicontroller/runmodal().md)
- [runPanel()](iobluetoothui/iobluetoothobjectpushuicontroller/runpanel().md)
- [setIconImage(_:)](iobluetoothui/iobluetoothobjectpushuicontroller/seticonimage(_:).md)
- [setTitle(_:)](iobluetoothui/iobluetoothobjectpushuicontroller/settitle(_:).md)
- [stop()](iobluetoothui/iobluetoothobjectpushuicontroller/stop().md)
