Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class RBTLocalDevice

class RBTLocalDevice : public RBTManSubSession;

Description

Creates and opens a subsession on BT Registry Server for local devices.

This subsession allows the local device to be updated, modified, examined etc.

Derivation

Members

Defined in RBTLocalDevice:

Inherited from RBTManSubSession:

Inherited from RSubSessionBase:


Construction and destruction


RBTLocalDevice()

IMPORT_C RBTLocalDevice();

Description

default c'tor

[Top]


Member functions


Open(RBTRegServ &)

IMPORT_C TInt Open(RBTRegServ &aSession);

Description

Open a local device subsession on the server, used for manipulating settings about the local device

Parameters

RBTRegServ &aSession

A server session

Return value

TInt

systemwide error


Get(TBTLocalDevice &)

IMPORT_C TInt Get(TBTLocalDevice &aLocalDevice);

Description

Retrieve the local device details. Synchronous - intended mainly for Bluetooth stack use on startup

Parameters

TBTLocalDevice &aLocalDevice

a reference to a TBTLocalDevice to store the results from the Registry

Return value

TInt

SystemWide error


Close()

IMPORT_C virtual void Close();

Description

Close the subsession on the server