CSmlAlertInfo Class Reference
#include
<SyncMLAlertInfo.h>
class CSmlAlertInfo : public CBase |
Detailed Description
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.
See also: KUidSyncMLPushMsgConfirmNotifier KUidSyncMLPushMsgInformNotifier
Member Enumeration Documentation
Enum TJobControl
Specifies whether a job should be created for an alert.
Enumerator | Value | Description |
---|
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.
|
Constructor & Destructor Documentation
~CSmlAlertInfo ( )
IMPORT_C | ~CSmlAlertInfo | ( | ) | [virtual] |
Member Function Documentation
CreateSession ( )
IMPORT_C TBool | CreateSession | ( | ) | const |
ErrorCode ( )
IMPORT_C TInt | ErrorCode | ( | ) | const |
ExternalizeL ( RWriteStream & )
InternalizeL ( RReadStream & )
SessionId ( )
IMPORT_C TInt | SessionId | ( | ) | const |
SetConfirmation ( TBool )
IMPORT_C void | SetConfirmation | ( | TBool | | ) | |
SetConnectionId ( TSmlConnectionId )
SetErrorCode ( TInt )
IMPORT_C void | SetErrorCode | ( | TInt | aError | ) | |
SetJobControl ( TJobControl )
SetProfileId ( TSmlProfileId )
SetProtocolType ( TSmlUsageType )
SetSessionId ( TInt )
IMPORT_C void | SetSessionId | ( | TInt | aId | ) | |
SetTransportId ( TSmlTransportId )
SetUimode ( TInt )
IMPORT_C void | SetUimode | ( | TInt | aUimode | ) | |
SetVendorSpecificInfoL ( const TDesC8 & )
IMPORT_C void | SetVendorSpecificInfoL | ( | const TDesC8 & | | ) | |
VendorSpecificInfo ( )
IMPORT_C const TDesC8 & | VendorSpecificInfo | ( | ) | const |