CDevicelockAccessApi Class Reference

class CDevicelockAccessApi : public CBase

RDevicelockAccessApi class. Client used to access/configure devicelock features.

lockapp
Since
5.0

Inherits from

  • CDevicelockAccessApi

Constructor & Destructor Documentation

CDevicelockAccessApi()

CDevicelockAccessApi()[private]

Constructor for performing 1st stage construction

~CDevicelockAccessApi()

IMPORT_C~CDevicelockAccessApi()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Default constructor for performing 2nd stage construction

DisableDevicelock()

IMPORT_C TIntDisableDevicelock()

Remove this method eventually!

Disable devicelock.

EnableDevicelock(TDevicelockReason)

IMPORT_C TIntEnableDevicelock(TDevicelockReasonaReason = EDevicelockManual)

Enable devicelock.

Parameters

TDevicelockReason aReason = EDevicelockManual

IsDevicelockEnabled()

IMPORT_C TBoolIsDevicelockEnabled()

Has devicelock been activated.

IsKeylockEnabled()

IMPORT_C TBoolIsKeylockEnabled()

Returns true if phone is keys are locked. Both keyguard and devicelock cannot be simultaneously enabled.

NewL()

IMPORT_C CDevicelockAccessApi *NewL()[static]

Two-phased constructor.

OfferDevicelock()

IMPORT_C TIntOfferDevicelock()

Currently not implemented ! Offer to enable devicelock. Shows a query note to user.

Member Data Documentation

RLockAccessExtension * iLockAccessExtension

RLockAccessExtension *iLockAccessExtension[private]