Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <btmanclient.h>
Link against: btmanclient.lib

Class TBTRegistrySearch

class TBTRegistrySearch;

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.

Members

Defined in TBTRegistrySearch:


Construction and destruction


TBTRegistrySearch()

IMPORT_C TBTRegistrySearch();

Description

Default constructor


TBTRegistrySearch(const TBTRegistrySearch &)

IMPORT_C TBTRegistrySearch(const TBTRegistrySearch &aSearch);

Description

Copy Constructor

Parameters

const TBTRegistrySearch &aSearch

[Top]


Member functions


Reset()

IMPORT_C void Reset();

Description

Resets the search criteria


FindAll()

IMPORT_C void FindAll();

Description

Add search criterion to search for finding all devices


FindAddress(const TBTDevAddr &)

IMPORT_C void FindAddress(const TBTDevAddr &aAddress);

Description

Add search criterion to search for given device

Parameters

const TBTDevAddr &aAddress

address of device to search for


FindBonded()

IMPORT_C void FindBonded();

Description

Add search criterion for bonded devices


FindTrusted()

IMPORT_C void FindTrusted();

Description

Add search criterion for trusted devices


FindCoD(const TBTDeviceClass &)

IMPORT_C void FindCoD(const TBTDeviceClass &aClass);

Description

Add search criterion to search for specific CoD

Parameters

const TBTDeviceClass &aClass

The CoD to search

See also:


FindCoD(const TBTDeviceClass &,TBTDeviceClassSearch)

IMPORT_C void FindCoD(const TBTDeviceClass &aClass, TBTDeviceClassSearch aPref);

Description

Add search criterion to search for certain classes of device

Parameters

const TBTDeviceClass &aClass

the device class to search for

TBTDeviceClassSearch aPref

describes the type of device search to perform

See also:


FindSinceSeen(const TTime &)

IMPORT_C void FindSinceSeen(const TTime &aLastSeen);

Description

Add search criterion to search for devices seen since given date NOTE not currently implemented

Parameters

const TTime &aLastSeen

date from which to find devices


FindSinceUsed(const TTime &)

IMPORT_C void FindSinceUsed(const TTime &aLastUsed);

Description

Add search criterion to search for devices used since given date

Parameters

const TTime &aLastUsed

date from which to find devices


FindBluetoothName(const TDesC8 &)

IMPORT_C void FindBluetoothName(const TDesC8 &aName);

Description

Add search criteria of specific Bluetooth name

Parameters

const TDesC8 &aName


FindFriendlyName(const TDesC &)

IMPORT_C void FindFriendlyName(const TDesC &aName);

Description

Add search criterion to search for devices with some friendly name

Parameters

const TDesC16 &aName

device name to search for


FindCurrentProcessOwned()

IMPORT_C void FindCurrentProcessOwned();

Description

Add search criterion to search for devices added by the current process


operator=(const TBTRegistrySearch &)

IMPORT_C TBTRegistrySearch& operator=(const TBTRegistrySearch &aSearch);

Description

Assignment operator

Parameters

const TBTRegistrySearch &aSearch

the search pattern to which to assign this

Return value

TBTRegistrySearch &