setSearchAttributes(_:)
Sets the search attributes that control the panel’s search/inquiry behavior.
Declaration
func setSearchAttributes(_ searchAttributes: UnsafePointer<IOBluetoothDeviceSearchAttributes>!)Parameters
- searchAttributes:
Attributes to control the panel’s inquiry behavior.
Discussion
The device search attributes control the inquiry behavior of the panel. They allow only devices that match the specified attributes (i.e. class of device) to be displayed to the user. Note that this only covers attributes returned in an inquiry result and not actual SDP services on the device.
NOTE: This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.