CDevicelockAccessApi Class Reference

class CDevicelockAccessApi : public CBase

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

lockapp
Since
5.0

Inherits from

Constructor & Destructor Documentation

CDevicelockAccessApi()

CDevicelockAccessApi ( ) [private]

Constructor for performing 1st stage construction

~CDevicelockAccessApi()

IMPORT_C ~CDevicelockAccessApi ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Default constructor for performing 2nd stage construction

DisableDevicelock()

IMPORT_C TInt DisableDevicelock ( )

Remove this method eventually!

Disable devicelock.

EnableDevicelock(TDevicelockReason)

IMPORT_C TInt EnableDevicelock ( TDevicelockReason aReason = EDevicelockManual )

Enable devicelock.

Parameters

TDevicelockReason aReason = EDevicelockManual

IsDevicelockEnabled()

IMPORT_C TBool IsDevicelockEnabled ( )

Has devicelock been activated.

IsKeylockEnabled()

IMPORT_C TBool IsKeylockEnabled ( )

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 TInt OfferDevicelock ( )

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

Member Data Documentation

RLockAccessExtension * iLockAccessExtension

RLockAccessExtension * iLockAccessExtension [private]