class RSsmSimAdaptation : public RSsmAdaptationBase |
Client interface for Sim Adaptation part of the Adaptation server.
Public Member Functions | |
---|---|
IMPORT_C void | GetCancel() |
IMPORT_C void | GetLastSimEvent(TDes8 &) |
IMPORT_C void | GetSimOwned(TDes8 &, TRequestStatus &) |
IMPORT_C void | NotifyCancel() |
IMPORT_C void | NotifySimEvent(TDes8 &, TRequestStatus &) |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C void | GetCancel | ( | ) |
Cancels the current outstanding request for either the SIM changed or SIM owned information.
Calling this API does not cancel any outstanding notification request. Use NotifyCancel() to cancel outstanding notification requests.
If the request is successfully cancelled then the TRequestStatus associated with that request will be completed with KErrCancel.
IMPORT_C void | GetLastSimEvent | ( | TDes8 & | aTypePckg | ) |
Returns the last event occured in the aTypePckg which is a package of TSsmSimEventType
Calling this API will get the last notification received by Adaptation server.If the client needs to be notified about the notifications client has to register using NotifySimEvent But once the client receives a notification it has to register again using NotifySimEvent for further notification. To get any events that are missed between two notification requests the API GetLastSimEvent can be used. This API can also be used to just get the last notified Sim event from Adaptation server.
TDes8 & aTypePckg |
IMPORT_C void | GetSimOwned | ( | TDes8 & | aOwnedPckg, |
TRequestStatus & | aStatus | |||
) |
Retrieve information about if the current SIM card, if any, is classed as owned.
The conditions on a SIM card being classed as owned are dependent on the adaptation implementation.
TDes8 & aOwnedPckg | 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 SIM card is owned, 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. |
IMPORT_C void | NotifyCancel | ( | ) |
Cancels the current outstanding request for notification of SIM events.
Calling this API does not cancel any outstanding 'Get...' request. Use GetCancel() to cancel outstanding 'Get...' requests.
If the request is successfully cancelled then the TRequestStatus associated with the notification request will be completed with KErrCancel.
IMPORT_C void | NotifySimEvent | ( | TDes8 & | aTypePckg, |
TRequestStatus & | aStatus | |||
) |
Requests notification of SIM events.
TDes8 & aTypePckg | |
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.