ADC Home > Reference Library > Reference > Hardware & Drivers > Bluetooth > Bluetooth Framework Reference
|
NSObject(IOBluetoothDeviceInquiryDelegate) |
Extends Class: | NSObject |
Declared In: |
This category on NSObject describes the delegate methods for the IOBluetoothDeviceInquiry object. All methods are optional, but it is highly recommended you implement them all. Do NOT invoke remote name requests on found IOBluetoothDevice objects unless the inquiry object has been stopped. Doing so may deadlock your process.
deviceInquiryComplete |
deviceInquiryComplete:error:aborted:
- (void) deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender error:(IOReturn)error aborted:(BOOL)aborted;
sender
Inquiry object that sent this delegate message.
error
Error code. kIOReturnSuccess if the inquiry completed without incident.
aborted
TRUE if user called -stop on the inquiry.
When the inquiry is completely stopped, this delegate method will be invoked. It will supply an error code value, kIOReturnSuccess if the inquiry stopped without problem, otherwise a non-kIOReturnSuccess error code will be supplied.
deviceInquiryComplete:error:aborted: |
deviceInquiryComplete
- (void) deviceInquiryComplete:(IOBluetoothDeviceInquiry*)sender error:(IOReturn)error aborted:(BOOL)aborted;
sender
Inquiry object that sent this delegate message.
error
Error code. kIOReturnSuccess if the inquiry completed without incident.
aborted
TRUE if user called -stop on the inquiry.
When the inquiry is completely stopped, this delegate method will be invoked. It will supply an error code value, kIOReturnSuccess if the inquiry stopped without problem, otherwise a non-kIOReturnSuccess error code will be supplied.
deviceInquiryDeviceFound |
deviceInquiryDeviceFound:device:
- (void) deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device;
sender
Inquiry object that sent this delegate message.
device
IOBluetoothDevice that was found.
A new device has been found. You do not need to retain the device - it will be held in the internal storage of the inquiry, and can be accessed later using -foundDevices.
deviceInquiryDeviceFound:device: |
deviceInquiryDeviceFound
- (void) deviceInquiryDeviceFound:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device;
sender
Inquiry object that sent this delegate message.
device
IOBluetoothDevice that was found.
A new device has been found. You do not need to retain the device - it will be held in the internal storage of the inquiry, and can be accessed later using -foundDevices.
deviceInquiryDeviceNameUpdated |
deviceInquiryDeviceNameUpdated:device:devicesRemaining:
- (void) deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device devicesRemaining:(uint32_t)devicesRemaining;
sender
Inquiry object that sent this delegate message.
device
IOBluetoothDevice that was updated.
devicesRemaining
Number of devices remaining to update.
A device name has been retrieved. Also indicates how many devices are left to be updated.
deviceInquiryDeviceNameUpdated:device:devicesRemaining: |
deviceInquiryDeviceNameUpdated
- (void) deviceInquiryDeviceNameUpdated:(IOBluetoothDeviceInquiry*)sender device:(IOBluetoothDevice*)device devicesRemaining:(uint32_t)devicesRemaining;
sender
Inquiry object that sent this delegate message.
device
IOBluetoothDevice that was updated.
devicesRemaining
Number of devices remaining to update.
A device name has been retrieved. Also indicates how many devices are left to be updated.
deviceInquiryStarted: |
- (void) deviceInquiryStarted:(IOBluetoothDeviceInquiry*)sender;
sender
Inquiry object that sent this delegate message.
This message will be delivered when the inquiry actually starts. Since the inquiry could be throttled, this message may not be received immediately after called -start.
deviceInquiryUpdatingDeviceNamesStarted |
deviceInquiryUpdatingDeviceNamesStarted:devicesRemaining:
- (void) deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry*)sender devicesRemaining:(uint32_t)devicesRemaining;
sender
Inquiry object that sent this delegate message.
devicesRemaining
Number of devices remaining to update.
The inquiry has begun updating device names that were found during the search.
deviceInquiryUpdatingDeviceNamesStarted:devicesRemaining: |
deviceInquiryUpdatingDeviceNamesStarted
- (void) deviceInquiryUpdatingDeviceNamesStarted:(IOBluetoothDeviceInquiry*)sender devicesRemaining:(uint32_t)devicesRemaining;
sender
Inquiry object that sent this delegate message.
devicesRemaining
Number of devices remaining to update.
The inquiry has begun updating device names that were found during the search.
|
Last Updated: 2008-08-07