TLinkPolicy Class Reference
The following class captures all the link policy settings
Member Functions Documentation
IsModeAllowed(TBTLinkMode)
Indicate whether a low power mode is allowed
Parameters
TBTLinkMode aMode | Bluetooth SIG specified values for indicating link modes |
IsSwitchAllowed()
IMPORT_C TBool | IsSwitchAllowed | ( | ) | const |
Indicate whether mode switch is allowed
LinkPolicy()
IMPORT_C TUint8 | LinkPolicy | ( | ) | const |
Return current link policy
LowPowerModePolicy()
IMPORT_C TUint8 | LowPowerModePolicy | ( | ) | const |
Return current low power mode policy
SetModeAllowed(TBTLinkMode, TBool)
Set permission or prohibition to a specific low power mode
Parameters
TBTLinkMode | Bluetooth SIG specified values for indicating link modes |
TBool aAllowed | the permission or prohibition to a specific low power mode |
SetModesAllowed(TUint8)
IMPORT_C void | SetModesAllowed | ( | TUint8 | aModesAllowed | ) | |
Set permission to low power modes
Parameters
TUint8 aModesAllowed | the low power modes to be allowed or not |
SetSwitchAllowed(TBool)
IMPORT_C void | SetSwitchAllowed | ( | TBool | aAllowed | ) | |
Set permission to low power modes switch
Parameters
TBool aAllowed | the low power modes switch to be allowed or not |
Member Data Documentation
TUint8
iLowPowerModePolicy
TUint8
| iLowPowerModePolicy | [private] |
TBool
iSwitchAllowed
TBool
| iSwitchAllowed | [private] |
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.