#include <btmanclient.h>
| class RBTLocalDevice : public RBTManSubSession |
| Public Member Functions | |
|---|---|
| RBTLocalDevice() | |
| virtual IMPORT_C void | Close() |
| IMPORT_C TInt | Get(TBTLocalDevice &) |
| IMPORT_C TInt | Modify(const TBTLocalDevice &) |
| IMPORT_C void | Modify(const TBTLocalDevice &, TRequestStatus &) |
| IMPORT_C TInt | Open(RBTRegServ &) |
| Inherited Attributes | |
|---|---|
| RBTManSubSession::iClientServerMsg | |
Creates and opens a subsession on BT Registry Server for local devices.
This subsession allows the local device to be updated, modified, examined etc.
| IMPORT_C void | Close | ( | ) | [virtual] |
Reimplemented from RBTManSubSession::Close()
Close the subsession on the server
| IMPORT_C TInt | Get | ( | TBTLocalDevice & | aLocalDevice | ) |
Retrieve the local device details. Synchronous - intended mainly for Bluetooth stack use on startup
| Parameter | Description |
|---|---|
| aLocalDevice | a reference to a TBTLocalDevice to store the results from the Registry |
Returns: SystemWide error
| IMPORT_C TInt | Modify | ( | const TBTLocalDevice & | aLocalDevice | ) |
Synchronous overload of Modify (primarily for stack operations)
See also: RBTLocalDevice::Modify(const TBTLocalDevice& aLocalDevice, TRequestStatus& aStatus)
| IMPORT_C void | Modify | ( | const TBTLocalDevice & | aLocalDevice, |
| TRequestStatus & | aStatus | |||
| ) | ||||
| Parameter | Description |
|---|---|
| aLocalDevice | New settings for local device |
| aStatus | reference Client AO's TRequestStatus |
| IMPORT_C TInt | Open | ( | RBTRegServ & | aSession | ) |
Open a local device subsession on the server, used for manipulating settings about the local device
| Parameter | Description |
|---|---|
| aSession | A server session |
Returns: systemwide error