CAknSoftNotificationParameters Class Reference

class CAknSoftNotificationParameters : public CBase

Utility implementation for CAknSoftNotificationParameters

AknNotifyPlugin.lib
Since
S60 1.2

Inherits from

  • CAknSoftNotificationParameters

Constructor & Destructor Documentation

CAknSoftNotificationParameters()

CAknSoftNotificationParameters()[protected, inline]

~CAknSoftNotificationParameters()

IMPORT_C~CAknSoftNotificationParameters()

Destructor.

Member Functions Documentation

NewL()

IMPORT_C CAknSoftNotificationParameters *NewL()[static]

Static constructor for creating custom soft notification parameters. Initializes the member variables with null values.

NewL(const TDesC &, TInt, TInt, TInt, CAknNoteDialog::TTone)

IMPORT_C CAknSoftNotificationParameters *NewL(const TDesC &aResourceFile,
TIntaNoteResourceId,
TIntaPriority,
TIntaSoftkeys,
CAknNoteDialog::TToneaTone
)[static]

Static constructor for creating custom soft notification parameters.

Parameters

const TDesC & aResourceFileFull resource file name (containing drive and path).
TInt aNoteResourceIdResource ID in given resource file. Must be a resource of type AVKON_NOTE.
TInt aPriorityPriority for soft notification.
TInt aSoftkeysResource ID for softkeys. Must be from avkon.rsg.
CAknNoteDialog::TTone aToneTone for soft notification.

NewL(const TDesC &, TInt, TInt, TInt, CAknNoteDialog::TTone, TVwsViewId, TUid, TInt, const TDesC8 &)

IMPORT_C CAknSoftNotificationParameters *NewL(const TDesC &aResourceFile,
TIntaNoteResourceId,
TIntaPriority,
TIntaSoftkeys,
CAknNoteDialog::TToneaTone,
TVwsViewIdaViewId,
TUidaCustomMessageId,
TIntaAcceptKeyId,
const TDesC8 &aViewActivationMsg
)[static]

Static constructor for creating custom soft notification parameters.

Parameters

const TDesC & aResourceFileFull resource file name (containing drive and path).
TInt aNoteResourceIdResource ID in given resource file. Must be a resource of type AVKON_NOTE.
TInt aPriorityPriority for soft notification.
TInt aSoftkeysResource ID for softkeys. Must be from avkon.rsg.
CAknNoteDialog::TTone aToneTone for soft notification.
TVwsViewId aViewIdView ID of the view where to switch in case user chooses accept softkey in the soft notification.
TUid aCustomMessageIdCustom Uid sent to the view in the view activation process.
TInt aAcceptKeyIdID of a softkey used for accepting the query. Exiting type softkeys (e.g. "cancel", "exit", "back", "done", etc.) should not be used.
const TDesC8 & aViewActivationMsgCustom message sent to the view in the view activation process.

SetGroupedTexts(TInt)

voidSetGroupedTexts(TIntaGroupedTextsID)[inline]

Sets the texts to be used when the soft notification is displayed in grouped form. Calling this method with non-null parameter also indicates that the soft notification supports grouped form.

Parameters

TInt aGroupedTextsIDResource identifier pointing to AVKON_GROUPED_NOTE_TEXTS resource. The resource can have singular and plural labels. See avkon.rh for details.

SetPluralViewId(const TVwsViewId &)

voidSetPluralViewId(const TVwsViewId &aViewId)[inline]

Legacy support. Sets the plural view ID.

Parameters

const TVwsViewId & aViewIdPlural view ID.

Member Data Documentation

TInt iAcceptSoftKey

TInt iAcceptSoftKey[protected]

TUid iCustomMessageId

TUid iCustomMessageId[protected]

TInt iGroupedTextResourceId

TInt iGroupedTextResourceId[protected]

TInt iNoteResourceId

TInt iNoteResourceId[protected]

TVwsViewId iPluralViewId

TVwsViewId iPluralViewId[protected]

TInt iPriority

TInt iPriority[protected]

HBufC * iResourceFile

HBufC *iResourceFile[protected]

TInt iSoftkeys

TInt iSoftkeys[protected]

CAknNoteDialog::TTone iTone

CAknNoteDialog::TTone iTone[protected]

HBufC8 * iViewActivationMsg

HBufC8 *iViewActivationMsg[protected]

TVwsViewId iViewId

TVwsViewId iViewId[protected]