---
title: getSearchAttributes()
framework: IOBluetooth UI
role: symbol
role_heading: Instance Method
platforms: [macOS 10.2+]
path: iobluetoothui/iobluetoothservicebrowsercontroller/getsearchattributes()
---

# getSearchAttributes()

Returns the search attributes that control the panel’s search/inquiry behavior.

## Declaration

```swift
func getSearchAttributes() -> UnsafePointer<IOBluetoothDeviceSearchAttributes>!
```

## Return Value

Return Value Returns the search attributes set by setSearchAttributes:

## Discussion

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

## See Also

### Instance Methods

- [addAllowedUUID(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/addalloweduuid(_:).md)
- [addAllowedUUIDArray(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/addalloweduuidarray(_:).md)
- [beginSheetModal(for:modalDelegate:didEnd:contextInfo:)](iobluetoothui/iobluetoothservicebrowsercontroller/beginsheetmodal(for:modaldelegate:didend:contextinfo:).md)
- [clearAllowedUUIDs()](iobluetoothui/iobluetoothservicebrowsercontroller/clearalloweduuids().md)
- [getDescriptionText()](iobluetoothui/iobluetoothservicebrowsercontroller/getdescriptiontext().md)
- [getOptions()](iobluetoothui/iobluetoothservicebrowsercontroller/getoptions().md)
- [getPrompt()](iobluetoothui/iobluetoothservicebrowsercontroller/getprompt().md)
- [getRef()](iobluetoothui/iobluetoothservicebrowsercontroller/getref().md)
- [getResults()](iobluetoothui/iobluetoothservicebrowsercontroller/getresults().md)
- [getTitle()](iobluetoothui/iobluetoothservicebrowsercontroller/gettitle().md)
- [runModal()](iobluetoothui/iobluetoothservicebrowsercontroller/runmodal().md)
- [setDescriptionText(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setdescriptiontext(_:).md)
- [setOptions(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setoptions(_:).md)
- [setPrompt(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setprompt(_:).md)
- [setSearchAttributes(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setsearchattributes(_:).md)
