ADC Home > Reference Library > Reference > Hardware & Drivers > Bluetooth > Bluetooth User Interface Framework Reference
|
IOBluetoothUIUserLib.h |
Include Path: | <IOBluetoothUI/IOBluetoothUIUserLib.h> |
Path: | /System/Library/Frameworks/IOBluetoothUI.framework/Versions/A/Headers/IOBluetoothUIUserLib.h |
Includes: |
This header is a library of functions that allow user-space clients to use the Bluetooth UI C APIs.
For more information on accessing Bluetooth devices, see Working With Bluetooth Devices.
IOBluetoothDeviceSelectorRunPanelWithAttributes |
Runs the selector controller panel displaying devices that have the specified attributes.
CFArrayRef IOBluetoothDeviceSelectorRunPanelWithAttributes( IOBluetoothDeviceSelectorControllerRef deviceSelector, IOBluetoothDeviceSearchAttributes *attributes);
deviceSelector
attributes
Returns an array of selected devices.
IOBluetoothGetDeviceSelectorController |
Creates an IOBluetoothDeviceSelectorControllerRef to use with the Bluetooth selector controller functions.
IOBluetoothDeviceSelectorControllerRef IOBluetoothGetDeviceSelectorController();
Returns the newly created IOBluetoothDeviceSelectorControllerRef.
IOBluetoothGetPairingController |
Creates an IOBluetoothPairingControllerRef to use with the Bluetooth pairing controller functions.
IOBluetoothPairingControllerRef IOBluetoothGetPairingController();
Returns the newly created IOBluetoothPairingControllerRef.
IOBluetoothPairingControllerRunPanelWithAttributes |
Runs the pairing controller with a list of device attributes on which to filter.
void IOBluetoothPairingControllerRunPanelWithAttributes( IOBluetoothPairingControllerRef pairingController, IOBluetoothDeviceSearchAttributes *attributes);
pairingController
attributes
IOBluetoothServiceBrowserControllerBrowseDevices |
IOReturn IOBluetoothServiceBrowserControllerBrowseDevices( IOBluetoothSDPServiceRecordRef *outRecord, IOBluetoothServiceBrowserControllerOptions inOptions);
outRecord
inOptions
IOBluetoothServiceBrowserControllerCreate |
Creates an IOBluetoothServiceBrowserControllerRef to use in the Bluetooth service browser controller functions.
IOBluetoothServiceBrowserControllerRef IOBluetoothServiceBrowserControllerCreate( IOBluetoothServiceBrowserControllerOptions inOptions);
inOptions
Returns the newly created IOBluetoothServiceBrowserControllerRef.
IOBluetoothServiceBrowserControllerDiscover |
IOReturn IOBluetoothServiceBrowserControllerDiscover( IOBluetoothServiceBrowserControllerRef controller, IOBluetoothSDPServiceRecordRef *outRecord);
controller
outRecord
IOBluetoothServiceBrowserControllerDiscoverWithDeviceAttributes |
IOReturn IOBluetoothServiceBrowserControllerDiscoverWithDeviceAttributes( IOBluetoothServiceBrowserControllerRef controller, IOBluetoothSDPServiceRecordRef *outRecord, IOBluetoothDeviceSearchAttributes *deviceAttributes, CFArrayRef serviceArray);
controller
outRecord
deviceAttributes
serviceArray
IOBluetoothServiceBrowserControllerSetOptions |
void IOBluetoothServiceBrowserControllerSetOptions( IOBluetoothServiceBrowserControllerRef controller, IOBluetoothServiceBrowserControllerOptions inOptions);
controller
inOptions
IOBluetoothServiceBrowserControllerOptions |
enum { kIOBluetoothServiceBrowserControllerOptionsNone = ( 0 << 0L), kIOBluetoothServiceBrowserControllerOptionsAutoStartInquiry = ( 1 << 0L), // this has been deprecated in 10.5, all panels will AutoStart kIOBluetoothServiceBrowserControllerOptionsDisconnectWhenDone = ( 2 << 0L) };
kIOBluetoothServiceBrowserControllerOptionsNone
- No options set.
kIOBluetoothServiceBrowserControllerOptionsAutoStartInquiry
- Automatically start an inquiry when the panel is displayed.
kIOBluetoothServiceBrowserControllerOptionsDisconnectWhenDone
- Disconnect from the device when UI operations are finished.
Option values to customize the behavior of an IOBluetoothServiceBrowserController object.
|