Class

IOBluetoothDeviceSelectorController

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

Declaration

@interface IOBluetoothDeviceSelectorController : NSWindowController

Overview

Implementation of a window controller to return a NSArray of selected bluetooth devices. This class will handle connecting to the Bluetooth Daemon for the purposes of searches, and displaying the results. This controller will return a NSArray of IOBluetoothDevice objects to the user.

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.

- beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:

Runs the device selector panel as a sheet on the target window.

- clearAllowedUUIDs

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

- getCancel

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

- getDescriptionText

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

- getHeader

Returns the header 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 the result of the user's selection.

- 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 device selector panel in a modal session to allow the user to select a Bluetooth device.

- setCancel:

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

- setDescriptionText:

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

- setHeader:

Sets the header 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.

Type Methods

Relationships

Inherits From