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