Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
Close(), Get(), Open(), RBTLocalDevice()

Inherited from RBTManSubSession:
CancelRequest(), iClientServerMsg, iPadding1, iPadding2

Inherited from RSubSessionBase:
CloseSubSession(), CreateAutoCloseSubSession(), CreateSubSession(), Send(), SendReceive(), Session(), SubSessionHandle()


Construction and destruction


RBTLocalDevice()

IMPORT_C RBTLocalDevice();

Description

default c'tor

[Top]


Member functions


Open()

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()

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()

virtual IMPORT_C void Close();

Description

Close the subsession on the server