Location:
btmanclient.h
Link against: btmanclient.lib
class RBTRegistry : public RBTManSubSession;
Creates and opens a subsession on the BT Registry Server for remote devices.
This subsession allows details of remote devices to be updated, modified, examined etc.
RSubSessionBase
- Client-side handle to a sub-session
RBTManSubSession
- A subsession for the
RBTRegistry
- Creates and opens a subsession on the BT Registry Server for remote devices
Defined in RBTRegistry
:
AddDeviceL()
, Close()
, CloseView()
, CreateView()
, ModifyFriendlyDeviceNameL()
, Open()
, RBTRegistry()
Inherited from RBTManSubSession
:
CancelRequest()
,
iClientServerMsg
,
iPadding1
,
iPadding2
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateAutoCloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
Session()
,
SubSessionHandle()
IMPORT_C TInt Open(RBTRegServ &aSession);
Open a Bluetooth device subsession.
|
|
IMPORT_C void AddDeviceL(const CBTDevice &aDeviceDetails, TRequestStatus &aStatus);
Add device to the registry
|
|
Capability: | LocalServices |
IMPORT_C void ModifyFriendlyDeviceNameL(const TBTDevAddr &aAddress, const TDesC &aNewName, TRequestStatus &aStatus);
Modify the friendly name of a device
|
|
Capability: | LocalServices | |
Capability: | ReadDeviceData | (LocalServices only if link key is not needed) |
IMPORT_C void CreateView(const TBTRegistrySearch &aSearch, TRequestStatus &aStatus);
Create a constrained view of devices on the remote device table of the registry server
|
virtual IMPORT_C void Close();
Close the subsession. Removes all server side resources pertaining to this subsession
IMPORT_C TInt CloseView();
Close a previously created view on the registry. Allows an app to use this subsession for other view or non-view operations
Subsession is left open for further use - eg to create another view, or perform a viewless operation
|