---
title: getOptions()
framework: IOBluetooth UI
role: symbol
role_heading: Instance Method
platforms: [macOS 10.2+]
path: iobluetoothui/iobluetoothdeviceselectorcontroller/getoptions()
---

# getOptions()

Returns the option bits that control the panel’s behavior.

## Declaration

```swift
func getOptions() -> IOBluetoothServiceBrowserControllerOptions
```

## Return Value

Return Value Returns the option bits set by setOptions:

## Discussion

Discussion NOTE: This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.

## See Also

### Instance Methods

- [addAllowedUUID(_:)](iobluetoothui/iobluetoothdeviceselectorcontroller/addalloweduuid(_:).md)
- [addAllowedUUIDArray(_:)](iobluetoothui/iobluetoothdeviceselectorcontroller/addalloweduuidarray(_:).md)
- [beginSheetModal(for:modalDelegate:didEnd:contextInfo:)](iobluetoothui/iobluetoothdeviceselectorcontroller/beginsheetmodal(for:modaldelegate:didend:contextinfo:).md)
- [clearAllowedUUIDs()](iobluetoothui/iobluetoothdeviceselectorcontroller/clearalloweduuids().md)
- [getCancel()](iobluetoothui/iobluetoothdeviceselectorcontroller/getcancel().md)
- [getDescriptionText()](iobluetoothui/iobluetoothdeviceselectorcontroller/getdescriptiontext().md)
- [getHeader()](iobluetoothui/iobluetoothdeviceselectorcontroller/getheader().md)
- [getPrompt()](iobluetoothui/iobluetoothdeviceselectorcontroller/getprompt().md)
- [getResults()](iobluetoothui/iobluetoothdeviceselectorcontroller/getresults().md)
- [getSearchAttributes()](iobluetoothui/iobluetoothdeviceselectorcontroller/getsearchattributes().md)
- [getTitle()](iobluetoothui/iobluetoothdeviceselectorcontroller/gettitle().md)
- [runModal()](iobluetoothui/iobluetoothdeviceselectorcontroller/runmodal().md)
- [setCancel(_:)](iobluetoothui/iobluetoothdeviceselectorcontroller/setcancel(_:).md)
- [setDescriptionText(_:)](iobluetoothui/iobluetoothdeviceselectorcontroller/setdescriptiontext(_:).md)
- [setHeader(_:)](iobluetoothui/iobluetoothdeviceselectorcontroller/setheader(_:).md)
