class CSmlAlertInfo : public CBase |
Information about an alert notification.
Push message parsers are responsible for generating one (or more) of these objects as a result of parsing a message, whether the parse is successful or not.
Not all details will be applicable to all alerts.
If parsing is successful, and a profile ID is specified, the Agent uses this information to generate a job (based upon the 'job control' value specified), prompting the user first if neccessary If parsing fails, parsers should try to fill in as much information as they can.
KUidSyncMLPushMsgConfirmNotifier KUidSyncMLPushMsgInformNotifier
Public Member Functions | |
---|---|
CSmlAlertInfo () | |
~CSmlAlertInfo () | |
IMPORT_C TSmlConnectionId | Connection () |
IMPORT_C TBool | CreateSession () |
IMPORT_C TInt | ErrorCode () |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C TInt | GetUimode () |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C TJobControl | JobControl () |
IMPORT_C CSmlAlertInfo * | NewLC () |
IMPORT_C TSmlProfileId | Profile () |
IMPORT_C TSmlUsageType | Protocol () |
IMPORT_C void | Reset () |
IMPORT_C TInt | SessionId () |
IMPORT_C void | SetConfirmation ( TBool ) |
IMPORT_C void | SetConnectionId ( TSmlConnectionId ) |
IMPORT_C void | SetErrorCode ( TInt ) |
IMPORT_C void | SetJobControl ( TJobControl ) |
IMPORT_C void | SetProfileId ( TSmlProfileId ) |
IMPORT_C void | SetProtocolType ( TSmlUsageType ) |
IMPORT_C void | SetSessionId ( TInt ) |
IMPORT_C void | SetTransportId ( TSmlTransportId ) |
IMPORT_C void | SetUimode ( TInt ) |
IMPORT_C void | SetVendorSpecificInfoL (const TDesC8 &) |
IMPORT_C const RArray < TInt > & | TaskIds () |
IMPORT_C RArray < TInt > & | TaskIds () |
IMPORT_C const RArray < TSmlSyncType > & | TaskSyncTypes () |
IMPORT_C RArray < TSmlSyncType > & | TaskSyncTypes () |
IMPORT_C TSmlTransportId | Transport () |
IMPORT_C const TDesC8 & | VendorSpecificInfo () |
Public Member Enumerations | |
---|---|
enum | TJobControl { EDoNotCreateJob , ECreateJob , EInformJob , EConfirmJob } |
Private Attributes | |
---|---|
TSmlConnectionId | iConnection |
TInt | iErrorCode |
TUint | iFlags |
TJobControl | iJobControl |
TSmlProfileId | iProfile |
TSmlUsageType | iProtocol |
TInt | iSessionId |
RArray < TInt > | iTaskIds |
RArray < TSmlSyncType > | iTaskSyncTypes |
TSmlTransportId | iTransport |
TInt | iUimode |
HBufC8 * | iVendorSpecificInfo |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | ) | const |
RWriteStream & |
IMPORT_C void | SetConnectionId | ( | TSmlConnectionId | ) |
TSmlConnectionId |
IMPORT_C void | SetProtocolType | ( | TSmlUsageType | ) |
TSmlUsageType |
IMPORT_C void | SetTransportId | ( | TSmlTransportId | ) |
TSmlTransportId |
IMPORT_C void | SetVendorSpecificInfoL | ( | const TDesC8 & | ) |
const TDesC8 & |
Specifies whether a job should be created for an alert.
EDoNotCreateJob |
Do not create a job. |
ECreateJob |
Create a job. |
EInformJob |
Inform the user that a job is being created. |
EConfirmJob |
Get confirmation from the user that a job should be created. |
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.