CBTEngSettingsNotify Class Reference
class CBTEngSettingsNotify : public CBase
|
Constructor & Destructor Documentation
CBTEngSettingsNotify(MBTEngSettingsObserver *)
Parameters
MBTEngSettingsObserver
* aObserver
|
Pointer to callback interface that receives notification that a setting has changed.
|
~CBTEngSettingsNotify()
~CBTEngSettingsNotify
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Symbian 2nd-phase constructor
HandleError(CBTEngActive *, TInt, TInt)
NewL(MBTEngSettingsObserver *)
Parameters
MBTEngSettingsObserver
* aObserver
|
Pointer to callback interface that receives notification that a setting has changed.
|
RequestCompletedL(CBTEngActive *, TInt, TInt)
TogglePowerTemporarily()
TInt
|
TogglePowerTemporarily
|
(
|
)
|
|
Toggles the Bluetooth power state (on or off). Power will be switched on for the duriation of the session. It will also be turned off (gracefully, if no permanent connection exists) if this object is destroyed. Note: power will only be switched off gracefully if it has also been switched on through this method, otherwise KErrAccessDenied will be returned.
Member Data Documentation
RBTEng
iBTeng
Handle to BTEng server for turning Bluetooth on temporarily.
MBTEngSettingsObserver * iObserver
Client to notify of changes. Not own.
CRepository * iPowerKeyCenRep
Session with the central repository for power mode setting. Own.
CBTEngActive * iPowerKeyWatcher
Active object for watching power mode setting changes. Own.
CRepository * iVisiKeyCenRep
Session with the central repository for visibility mode setting. Own.
CBTEngActive * iVisiKeyWatcher
Active object for watching visibility mode setting changes. Own.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.