Class

IOBluetoothPairingController

A NSWindowController subclass to display a window to initiate pairing to other bluetooth devices.

Declaration

@interface IOBluetoothPairingController : NSWindowController

Overview

Implementation of a window controller to handle pairing with a bluetooth device. This class will handle connecting to the Bluetooth Daemon for the purposes of searches, and displaying the results. When necessary this class will display a sheet asking the user for a PIN code. This window will not return anything to the caller if it is canceled or if pairing occurs.

Topics

Instance Methods

- addAllowedUUID:

Adds a UUID to the list of UUIDs that are used to validate the user's selection.

- addAllowedUUIDArray:

Adds an array of UUIDs to the list of UUIDs that are used to validate the user's selection.

- clearAllowedUUIDs

Resets the controller back to the default state where it will accept any device the user selects.

- getDescriptionText

Returns the description text that appears in the device selector panel.

- getOptions

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

- getPrompt

Returns the title of the default/select button in the device selector panel.

- getResults

Returns an NSArray of the devices that were paired.

- getSearchAttributes

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

- getTitle

Returns the title of the device selector panel.

- runModal

Runs the pairing panel in a modal session to allow the user to select a Bluetooth device.

- setDescriptionText:

Sets the description text that appears in the device selector panel.

- setOptions:

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

- setPrompt:

Sets the title of the default/select button in the device selector panel.

- setSearchAttributes:

Sets the search attributes that control the panel's search/inquiry behavior.

- setTitle:

Sets the title of the panel when not run as a sheet.

Relationships

Inherits From