TBTRegistrySearch Class Reference
Link against: btmanclient.lib
Detailed Description
Set search criteria on the Bluetooth Registry.
The search logic is "AND", so if device bonded is set, and code set to headsets the search results contain all the bonded headsets in the registry.
Other things can be added to the search criteria e.g. recently used headsets can easil be found by adding in the LastUsed criterion.
Constructor & Destructor Documentation
TBTRegistrySearch ( )
IMPORT_C | TBTRegistrySearch | ( | ) | |
TBTRegistrySearch ( const TBTRegistrySearch & )
Member Function Documentation
FindAddress ( const TBTDevAddr & )
IMPORT_C void | FindAddress | ( | const TBTDevAddr & | aAddress | ) | |
Add search criterion to search for given device
Parameter | Description | aAddress | address of device to search for |
FindAll ( )
Add search criterion to search for finding all devices
FindBluetoothName ( const TDesC8 & )
IMPORT_C void | FindBluetoothName | ( | const TDesC8 & | aName | ) | |
Add search criterion to search for devices with some Bluetooth device name
Parameter | Description | aName | device name to search for Add search criteria of specific Bluetooth name |
FindBonded ( )
IMPORT_C void | FindBonded | ( | ) | |
Add search criterion for bonded devices
FindCoD ( const TBTDeviceClass & )
Add search criterion to search for specific CoD
See also: TBTDeviceClass
Parameter | Description | aClass | The CoD to search |
FindCoD ( const TBTDeviceClass &, TBTDeviceClassSearch )
Parameter | Description | aClass | the device class to search for |
aPref | describes the type of device search to perform |
FindCurrentProcessOwned ( )
IMPORT_C void | FindCurrentProcessOwned | ( | ) | |
Add search criterion to search for devices added by the current process
FindFriendlyName ( const TDesC & )
IMPORT_C void | FindFriendlyName | ( | const TDesC & | aName | ) | |
Add search criterion to search for devices with some friendly name
Parameter | Description | aName | device name to search for |
FindSinceSeen ( const TTime & )
IMPORT_C void | FindSinceSeen | ( | const TTime & | aLastSeen | ) | |
Add search criterion to search for devices seen since given date NOTE not currently implemented
Parameter | Description | aLastSeen | date from which to find devices |
FindSinceUsed ( const TTime & )
IMPORT_C void | FindSinceUsed | ( | const TTime & | aLastUsed | ) | |
Add search criterion to search for devices used since given date
Parameter | Description | aLastUsed | date from which to find devices |
FindTrusted ( )
IMPORT_C void | FindTrusted | ( | ) | |
Add search criterion for trusted devices
FindUiCookie ( TUint32 )
IMPORT_C void | FindUiCookie | ( | TUint32 | aUiCookie | ) | |
Add search criterion to search for devices with a particular UI Cookie value.
Parameter | Description | aUiCookie | The particular UI cookie value to search on. |
FindUiCookie ( TUint32, TUint32 )
Add search criterion to search for devices with a particular UI Cookie value.
Parameter | Description | aUiCookie | The particular UI cookie value to search on. |
aUiCookieMask | The mask to indicate which bits of the cookie value are to be searched on. |
Reset ( )
Resets the search criteria
operator= ( const TBTRegistrySearch & )
Parameter | Description | aSearch | the search pattern to which to assign this |