class RSsmRtcAdaptation : public RSsmAdaptationBase |
Client interface for RTC Adaptation part of the Adaptation server.
Public Member Functions | |
---|---|
IMPORT_C void | Cancel () |
IMPORT_C void | SetWakeupAlarm ( TDesC8 &, TRequestStatus &) |
IMPORT_C void | UnsetWakeupAlarm ( TRequestStatus &) |
IMPORT_C void | ValidateRtc ( TDes8 &, TRequestStatus &) |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C void | Cancel | ( | ) |
Cancels the current outstanding request on this R class.
Calling this API does not cancel any wake-up time that is set. Use UnsetWakeupAlarm() to do this.
If the request is successfully cancelled then the TRequestStatus associated with that request will be completed with KErrCancel.
IMPORT_C void | SetWakeupAlarm | ( | TDesC8 & | aAlarmTimePckg, |
TRequestStatus & | aStatus | |||
) |
Request that the device wake-up at a certain time, even if the device is switched off.
This API can only be called by processes with the SecureID of the Alarm Server.
TDesC8 & aAlarmTimePckg | A descriptor packaging a TTime object, such as TPckgC<TTime>. The descriptor referenced should exist until aStatus is completed. This descriptor should contain a TTime object representing the UTC time that the device should wake-up. |
TRequestStatus & aStatus | The request status. This is set to KErrNone on completion, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have the SecureID of the Alarm Server, otherwise one of the other system-wide error codes. |
IMPORT_C void | UnsetWakeupAlarm | ( | TRequestStatus & | aStatus | ) |
Stops the device from waking-up at a time set by a previous call to SetWakeupAlarm() .
This API can only be called by processes with the SecureID of the Alarm Server.
TRequestStatus & aStatus | The request status. This is set to KErrNone on completion, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have the SecureID of the Alarm Server, otherwise one of the other system-wide error codes. |
IMPORT_C void | ValidateRtc | ( | TDes8 & | aValidityPckg, |
TRequestStatus & | aStatus | |||
) |
Retrieve information about if the real time clock, if present, contains a valid time.
TDes8 & aValidityPckg | A descriptor packaging a TBool object, such as TPckg<TBool>. The descriptor referenced should exist until aStatus is completed. When aStatus is completed with KErrNone this descriptor will contain ETrue if the real time clock is valid, EFalse otherwise. |
TRequestStatus & aStatus | The request status. This is set to KErrNone on completion, KErrNotSupported if this operations is not supported by the adaptation, otherwise one of the other system-wide error codes. |
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.