CKeyguardAccessApi Class Reference
class CKeyguardAccessApi : public CBase
|
RKeyguardAccessApi class. Client used to access/configure keyguard features.
Constructor & Destructor Documentation
CKeyguardAccessApi()
CKeyguardAccessApi
|
(
|
)
|
[private]
|
Constructor for performing 1st stage construction
~CKeyguardAccessApi()
IMPORT_C
|
~CKeyguardAccessApi
|
(
|
)
|
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Default constructor for performing 2nd stage construction
DisableKeyguard(TBool)
IMPORT_C
TInt
|
DisableKeyguard
|
(
|
TBool
|
aWithNote
|
)
|
|
Disable keyguard. Only works if devicelock is not enabled.
Parameters
TBool
aWithNote
|
should informing note be shown
|
EnableKeyguard(TBool)
IMPORT_C
TInt
|
EnableKeyguard
|
(
|
TBool
|
aWithNote
|
)
|
|
Enable keyguard. Only works if devicelock is not enabled.
Parameters
TBool
aWithNote
|
should informing note be shown
|
IsKeyguardEnabled()
IMPORT_C
TBool
|
IsKeyguardEnabled
|
(
|
)
|
|
Has keyguard been activated.
IsKeylockEnabled()
IMPORT_C
TBool
|
IsKeylockEnabled
|
(
|
)
|
|
Returns true if phone is keys are locked. Both keyguard and devicelock cannot be simultaneously enabled.
OfferKeyguard()
IMPORT_C
TInt
|
OfferKeyguard
|
(
|
)
|
|
Offer to enable keyguard. Shows a query note to user.
ShowKeysLockedNote()
IMPORT_C
TInt
|
ShowKeysLockedNote
|
(
|
)
|
|
Shows note informing that keys are locked. Only works if keyguard is already enabled.
TestDestruct()
IMPORT_C
TInt
|
TestDestruct
|
(
|
)
|
|
TestInternal()
IMPORT_C
TInt
|
TestInternal
|
(
|
)
|
|
Test functions, return KErrNotSupported in release builds.
TestPanicClient()
IMPORT_C
TInt
|
TestPanicClient
|
(
|
)
|
|
Member Data Documentation
RLockAccessExtension * iLockAccessExtension
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.