Instance Method

setOptions(_:)

Sets the option bits that control the panel's behavior.

Declaration

func setOptions(_ options: IOBluetoothServiceBrowserControllerOptions)

Parameters

options

Options to control the panel's behavior.

Discussion

The pairing controller options control the behavior of the panel. Currently kIOBluetoothServiceBrowserControllerOptionsAutoStartInquiry is the only supported option. In the future more options will be added to control things like whether the connection to the device is closed when the controller is finished or if multiple selection is allowed.

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