CMmsHeaders Class Reference
| class CMmsHeaders : public CBase |
This class provides access to MMS specific header data. The class can be used from both Client MTM and Server MTM.
| Public Member Functions |
|---|
| ~CMmsHeaders() |
|
TInt
| AdaptationAllowed() |
| IMPORT_C void | AddTypedAddresseeL(const TDesC &, TMmsRecipients) |
| IMPORT_C void | AppendPreviouslySentItemL(TInt64, const TDesC &) |
| IMPORT_C TPtrC16 | ApplicId() |
| IMPORT_C TPtrC8 | AuxApplicInfo() |
| const CDesCArray & | BccRecipients() |
|
TInt
| CancelStatus() |
| const CDesCArray & | CcRecipients() |
|
TInt
| ContentClass() |
| IMPORT_C TPtrC8 | ContentLocation() |
| IMPORT_C CMmsHeaders * | CopyL(TMsvPartList, TBool) |
| IMPORT_C CMmsHeaders * | CopyL(TMsvPartList, TBool, RFs &) |
| IMPORT_C void | CreateContentId(TDes8 &) |
|
TInt64
| Date() |
| const RPointerArray< CMmsDeleteResultArray > & | DeleteResultArray() |
| IMPORT_C TInt64 | DeliveryDate() |
|
TInt
| DeliveryReport() |
| IMPORT_C TInt | DeliveryTimeInterval() |
|
TInt
| DistributionIndicator() |
|
TInt
| DrmContent() |
| IMPORT_C CMmsElementDescriptor & | ElementDescriptorL() |
| IMPORT_C TInt64 | ExpiryDate() |
| IMPORT_C TInt | ExpiryInterval() |
| IMPORT_C TPtrC | ExtendedNotification() |
| IMPORT_C void | GetMaximumImage(TInt &, TInt &) |
| IMPORT_C void | InsertDeleteContentLocationL(TUint, const TDesC8 &) |
| IMPORT_C void | InsertDeleteResponseTextL(TUint, const TDesC &) |
| IMPORT_C void | InsertDeleteStatusL(TUint, const TInt32) |
| IMPORT_C void | InsertPreviouslySentByL(TInt, const TDesC &) |
| IMPORT_C void | InsertPreviouslySentDateL(TInt, TInt64) |
| IMPORT_C CMmsMMBoxMessageHeaders & | MMBoxMessageHeadersL() |
| IMPORT_C CMmsMMBoxViewHeaders & | MMBoxViewHeadersL() |
|
TInt
| MessageClass() |
|
TInt
| MessageComplete() |
| IMPORT_C TPtrC8 | MessageId() |
|
TInt
| MessagePriority() |
|
TMsvAttachmentId
| MessageRoot() |
|
TInt
| MessageSize() |
|
TInt
| MessageType() |
|
TInt16
| MmsVersion() |
|
TInt
| MultipartType() |
| IMPORT_C CMmsHeaders * | NewL() |
| IMPORT_C CMmsHeaders * | NewL(TInt16) |
| const RPointerArray< CMmsSendingChain > & | PreviouslySentList() |
| const CMmsElementDescriptor * | ReadOnlyElementDescriptor() |
| const CMmsMMBoxMessageHeaders * | ReadOnlyMMBoxMessageHeaders() |
| const CMmsMMBoxViewHeaders * | ReadOnlyMMBoxViewHeaders() |
|
TInt
| ReadReply() |
|
TInt
| ReadStatus() |
|
TTime
| ReceivingTime() |
|
TInt
| RecommendedRetrievalMode() |
| IMPORT_C TPtrC16 | RecommendedRetrievalModeText() |
|
TMsvId
| RelatedEntry() |
| IMPORT_C TBool | RemoveAddressee(const TDesC &) |
| IMPORT_C TPtrC8 | ReplaceCancelId() |
| IMPORT_C TPtrC16 | ReplyApplicId() |
|
TInt
| ReplyCharging() |
| IMPORT_C TInt64 | ReplyChargingDate() |
| IMPORT_C TPtrC8 | ReplyChargingId() |
| IMPORT_C TInt | ReplyChargingInterval() |
|
TInt
| ReplyChargingSize() |
|
TInt32
| ReportAllowed() |
| IMPORT_C void | Reset(CMmsSettings *) |
|
TInt32
| ResponseStatus() |
| IMPORT_C TPtrC | ResponseText() |
| IMPORT_C void | RestoreL(CMsvStore &) |
| IMPORT_C TPtrC8 | RootContentId() |
| IMPORT_C TPtrC | Sender() |
|
TInt
| SenderVisibility() |
| void | SetAdaptationAllowed(TInt) |
| IMPORT_C void | SetApplicIdL(const TDesC16 &) |
| IMPORT_C void | SetAuxApplicInfoL(const TDesC8 &) |
| void | SetCancelStatus(TInt) |
| void | SetContentClass(TInt) |
| IMPORT_C void | SetContentLocationL(const TDesC8 &) |
| void | SetDate(TInt64) |
| IMPORT_C void | SetDeliveryDate(TInt64) |
| void | SetDeliveryReport(TInt) |
| IMPORT_C void | SetDeliveryTimeInterval(TInt) |
| void | SetDistributionIndicator(const TInt) |
| void | SetDrmContent(TInt) |
| IMPORT_C void | SetExpiryDate(TInt64) |
| IMPORT_C void | SetExpiryInterval(TInt) |
| IMPORT_C void | SetExtendedNotificationL(const TDesC &) |
| IMPORT_C void | SetMaximumImage(TInt, TInt) |
| void | SetMessageClass(TInt) |
| void | SetMessageComplete(TInt) |
| IMPORT_C void | SetMessageIdL(const TDesC8 &) |
| void | SetMessagePriority(TInt) |
| void | SetMessageRoot(const TMsvAttachmentId) |
| void | SetMessageSize(TInt) |
| void | SetMessageType(TInt) |
| void | SetMmsVersion(TInt16) |
| void | SetMultipartType(const TInt) |
| void | SetReadReply(TInt) |
| void | SetReadStatus(const TInt) |
| void | SetReceivingTime(TTime) |
| void | SetRecommendedRetrievalMode(TInt) |
| IMPORT_C void | SetRecommendedRetrievalModeTextL(const TDesC16 &) |
| void | SetRelatedEntry(const TMsvId) |
| IMPORT_C void | SetReplaceCancelIdL(const TDesC8 &) |
| IMPORT_C void | SetReplyApplicIdL(const TDesC16 &) |
| void | SetReplyCharging(const TInt) |
| IMPORT_C void | SetReplyChargingDate(TInt64) |
| IMPORT_C void | SetReplyChargingIdL(const TDesC8 &) |
| IMPORT_C void | SetReplyChargingInterval(TInt) |
| void | SetReplyChargingSize(const TInt) |
| void | SetReportAllowed(TInt32) |
| void | SetResponseStatus(TInt32) |
| IMPORT_C void | SetResponseTextL(const TDesC &) |
| IMPORT_C void | SetRootContentIdL(const TDesC8 &) |
| IMPORT_C void | SetSenderL(const TDesC &) |
| void | SetSenderVisibility(TInt) |
| IMPORT_C void | SetSettings(CMmsSettings *) |
| void | SetStatus(const TInt) |
| IMPORT_C void | SetSubjectL(const TDesC &) |
| IMPORT_C void | SetTidL(const TDesC8 &) |
| IMPORT_C TInt | Size() |
|
TInt
| Status() |
| IMPORT_C void | StoreL(CMsvStore &) |
| IMPORT_C TPtrC | Subject() |
| IMPORT_C TPtrC8 | Tid() |
| const CDesCArray & | ToRecipients() |
| IMPORT_C const CDesCArray & | TypedAddresseeList(TMmsRecipients) |
| Private Member Functions |
|---|
| CMmsHeaders() |
|
HBufC * | AliasedAddressL(const TDesC &, RFs &) |
|
CDesCArray * | AliasedAddressL(const CDesCArray &, RFs &) |
| void | ConstructL(TInt16) |
| void | CopyAddresseeListL(const CDesCArray &, TMmsRecipients, const TPtrC &, RFs &) |
| void | ExternalizeArrayL(CDesC16Array &, RWriteStream &) |
| IMPORT_C void | ExternalizeL(RMsvWriteStream &) |
| void | InternalizeArrayL(CDesC16Array &, RReadStream &) |
| IMPORT_C void | InternalizeL(RMsvReadStream &) |
|
TPtrC8
| LimitStringSize(const TPtrC8 &, TInt) |
|
TPtrC16
| LimitStringSize(const TPtrC16 &, TInt) |
|
TBool
| RemoveAddressee(CDesCArray &, const TDesC &) |
Constructor & Destructor Documentation
Member Functions Documentation
AdaptationAllowed()
|
TInt
| AdaptationAllowed | ( | ) | const [inline] |
Get header that tells if MMSC is allowed to alter the message (make it smaller).
AddTypedAddresseeL(const TDesC &, TMmsRecipients)
| IMPORT_C void | AddTypedAddresseeL | ( | const TDesC & | aRealAddress, |
| | TMmsRecipients | aType |
| | ) | |
Adds recipient with specified type (To, Cc, Bcc). This function also adds all recipients into the internal list that contains all addressees regardless of addressee type.
Parameters
| const TDesC & aRealAddress | recipient address. |
| TMmsRecipients aType | specifies recipient type (types defined in MMSCONST.H) |
AliasedAddressL(const TDesC &, RFs &)
|
HBufC * | AliasedAddressL | ( | const TDesC & | aOriginalAddress, |
| | RFs & | aFs |
| | ) | [private] |
Generate aliased address from an address that may be pure or not Caller must free buffer when no lenger needed
Parameters
| const TDesC & aOriginalAddress | original address may be pure or not |
| RFs & aFs | file system handle |
AliasedAddressL(const CDesCArray &, RFs &)
Generate array of aliased addresses from an arrays of addresses that may be pure or not Caller must free the array when no lenger needed
Parameters
| const CDesCArray & aOriginalAddress | array of original addresses, may be pure or not |
| RFs & aFs | |
AppendPreviouslySentItemL(TInt64, const TDesC &)
| IMPORT_C void | AppendPreviouslySentItemL | ( | TInt64 | aDate, |
| | const TDesC & | aSender |
| | ) | |
ApplicId()
Identification of the destination application accessor.
AuxApplicInfo()
| IMPORT_C TPtrC8 | AuxApplicInfo | ( | ) | const |
Auxiliary application information for internal use of the destination application accessor.
BccRecipients()
Give const access to the "Bcc" recipient list
CancelStatus()
|
TInt
| CancelStatus | ( | ) | const [inline] |
Get status of cancel operation
CcRecipients()
Give const access to the "Cc" recipient list
ConstructL(TInt16)
| void | ConstructL | ( | TInt16 | aMmsDefaultVersion | ) | [private] |
By default Symbian OS constructor is private.
ContentClass()
|
TInt
| ContentClass | ( | ) | const [inline] |
Return the content class value as specified in MMS encapsulation 1.3.
ContentLocation()
| IMPORT_C TPtrC8 | ContentLocation | ( | ) | const |
Content-Location accessor. Used in a Message Notification.
CopyAddresseeListL(const CDesCArray &, TMmsRecipients, const TPtrC &, RFs &)
| void | CopyAddresseeListL | ( | const CDesCArray & | aArray, |
| | TMmsRecipients | aType, |
| | const TPtrC & | aExclude, |
| | RFs & | aFs |
| | ) | [private] |
Copy addressee list from source headers
Parameters
| const CDesCArray & aArray | addressee list |
| TMmsRecipients aType | recipient lins type |
| const TPtrC & aExclude | Address to be excluded from the list (sender) |
| RFs & aFs | file system handle |
CopyL(TMsvPartList, TBool)
Make a copy of MmsHeaders
Parameters
| TMsvPartList aParts | message part list |
| TBool aReply | if the new message is a reply message. This has meaning for recipient handling. |
CopyL(TMsvPartList, TBool, RFs &)
Make a copy of MmsHeaders
Parameters
| TMsvPartList aParts | message part list |
| TBool aReply | if the new message is a reply message. This has meaning for recipient handling. |
| RFs & aFs | file system handle. Needed for alias handling |
CreateContentId(TDes8 &)
| IMPORT_C void | CreateContentId | ( | TDes8 & | aCid | ) | [static] |
Creates a ContentId to be used in mime headers
Parameters
| TDes8 & aCid | the created contentId (OUT) The caller must reserve a buffer that is at least 12 bytes long ( 10 bytes for a 32 bit integer converted to a string + angle brackets ) |
DeleteResultArray()
Accessor to delete result array for looking at the content. The items should normally be accessed in sequential order by outsiders.
DeliveryReport()
|
TInt
| DeliveryReport | ( | ) | [inline] |
Delivery Report Request accessor.
DeliveryTimeInterval()
| IMPORT_C TInt | DeliveryTimeInterval | ( | ) | |
Delivery time interval accessor.
DistributionIndicator()
|
TInt
| DistributionIndicator | ( | ) | const [inline] |
Distribution indicator accessor
- Since
- 2.6
DrmContent()
|
TInt
| DrmContent | ( | ) | const [inline] |
Get DRM content indicator (encapsulation 1.3)
ElementDescriptorL()
Element descriptor accessor for edit usage.
- Since
- 2.6
ExpiryDate()
Expiration date accessor.
ExpiryInterval()
| IMPORT_C TInt | ExpiryInterval | ( | ) | |
Expiration interval accessor.
ExtendedNotification()
| IMPORT_C TPtrC | ExtendedNotification | ( | ) | const |
Extended Notification accessor.
- Since
- 2.6
ExternalizeArrayL(CDesC16Array &, RWriteStream &)
ExternalizeL(RMsvWriteStream &)
GetMaximumImage(TInt &, TInt &)
| IMPORT_C void | GetMaximumImage | ( | TInt & | aWidth, |
| | TInt & | aHeight |
| | ) | const |
Maximum image size accessor.
Parameters
| TInt & aWidth | image width (OUT) |
| TInt & aHeight | image height (OUT) |
InsertDeleteContentLocationL(TUint, const TDesC8 &)
| IMPORT_C void | InsertDeleteContentLocationL | ( | TUint | aOrder, |
| | const TDesC8 & | aContentLocation |
| | ) | |
Insert delete result content location. If corresponding entry is found, just insert content location to entry, otherwise create new CMmsDeleteResultArray item and insert it into array
Parameters
| TUint aOrder | the order number of the not deleted entry |
| const TDesC8 & aContentLocation | |
InsertDeleteResponseTextL(TUint, const TDesC &)
| IMPORT_C void | InsertDeleteResponseTextL | ( | TUint | aOrder, |
| | const TDesC & | aResposeText |
| | ) | |
Insert delete result response text. If corresponding entry is found, just insert response text to entry, otherwise create new CMmsDeleteResultArray item and insert it into array
Parameters
| TUint aOrder | the order number of the not deleted entry |
| const TDesC & aResposeText | |
InsertDeleteStatusL(TUint, const TInt32)
| IMPORT_C void | InsertDeleteStatusL | ( | TUint | aOrder, |
| | const TInt32 | aStatus |
| | ) | |
Insert delete status. If corresponding entry is found, just insert delete status to entry, otherwise create new CMmsDeleteResultArray item and insert it into array
Parameters
| TUint aOrder | the order number of the not deleted entry |
| const TInt32 aStatus | the previous sender. |
InsertPreviouslySentByL(TInt, const TDesC &)
| IMPORT_C void | InsertPreviouslySentByL | ( | TInt | aOrder, |
| | const TDesC & | aSender |
| | ) | |
InsertPreviouslySentDateL(TInt, TInt64)
| IMPORT_C void | InsertPreviouslySentDateL | ( | TInt | aOrder, |
| | TInt64 | aDate |
| | ) | |
InternalizeArrayL(CDesC16Array &, RReadStream &)
InternalizeL(RMsvReadStream &)
LimitStringSize(const TPtrC8 &, TInt)
Limit string size to maximum length
Parameters
| const TPtrC8 & aString | input string |
| TInt aMaxSize | maximum length of the string |
LimitStringSize(const TPtrC16 &, TInt)
Limit string size to maximum length
Parameters
| const TPtrC16 & aString | input string |
| TInt aMaxSize | maximum length of the string |
MMBoxMessageHeadersL()
MMBox message headers accessor for edit usage
- Since
- 2.6
MMBoxViewHeadersL()
MMBox view headers accessor for edit usage
- Since
- 2.6
MessageClass()
|
TInt
| MessageClass | ( | ) | const [inline] |
MessageComplete()
|
TInt
| MessageComplete | ( | ) | [inline] |
Message complete indicator accessor.
- Since
- 2.6
MessageId()
| IMPORT_C TPtrC8 | MessageId | ( | ) | const |
MessagePriority()
|
TInt
| MessagePriority | ( | ) | const [inline] |
Message priority accessor.
MessageRoot()
Message root part accessor.
MessageSize()
|
TInt
| MessageSize | ( | ) | const [inline] |
Get Message-Size. Used in a Message Notification.
MessageType()
|
TInt
| MessageType | ( | ) | [inline] |
MultipartType()
|
TInt
| MultipartType | ( | ) | const [inline] |
Multipart type accessor
- Since
- 2.6
NewL()
Two-phased constructor. This is a legacy function and sets the default mms version to a hard coded value. All client should use the NewL version that gives the version as parameter. The version value should come form CMmsSettings class
NewL(TInt16)
Parameters
| TInt16 aMmsVersion | The version of MMS encapsulation that should be used unless the actual message contains some other value |
ReadOnlyElementDescriptor()
Element descriptor accessor for read only usage.
- Since
- 2.6
ReadOnlyMMBoxMessageHeaders()
MMBox message headers accessor for read only usage
- Since
- 2.6
ReadOnlyMMBoxViewHeaders()
MMBox view headers accessor for read only usage
- Since
- 2.6
ReadReply()
Read Reply Request accessor.
ReadStatus()
|
TInt
| ReadStatus | ( | ) | const [inline] |
ReceivingTime()
|
TTime
| ReceivingTime | ( | ) | const [inline] |
The time the message was received in the terminal.
RecommendedRetrievalMode()
|
TInt
| RecommendedRetrievalMode | ( | ) | const [inline] |
Get recommended retrieval mode This header appears in a notification and may recommend manual retrieval.
RecommendedRetrievalModeText()
| IMPORT_C TPtrC16 | RecommendedRetrievalModeText | ( | ) | const |
Get explanation why retrival mode is recommended
RelatedEntry()
|
TMsvId
| RelatedEntry | ( | ) | const [inline] |
Related entry accessor
- Since
- 2.6
RemoveAddressee(const TDesC &)
| IMPORT_C TBool | RemoveAddressee | ( | const TDesC & | aRealAddress | ) | |
Remove a given address from the right typed list.
Parameters
| const TDesC & aRealAddress | recipient address. |
RemoveAddressee(CDesCArray &, const TDesC &)
Remove a addressee from a given addressee list.
ReplaceCancelId()
| IMPORT_C TPtrC8 | ReplaceCancelId | ( | ) | const |
Get id of message to be replaced or cancelled
ReplyApplicId()
| IMPORT_C TPtrC16 | ReplyApplicId | ( | ) | const |
Identification of an application to which replies are addressed accessor.
ReplyCharging()
|
TInt
| ReplyCharging | ( | ) | const [inline] |
ReplyChargingDate()
| IMPORT_C TInt64 | ReplyChargingDate | ( | ) | |
ReplyCharging date accessor.
ReplyChargingId()
| IMPORT_C TPtrC8 | ReplyChargingId | ( | ) | const |
ReplyChargingId accessor.
ReplyChargingInterval()
| IMPORT_C TInt | ReplyChargingInterval | ( | ) | |
ReplyCharging interval accessor.
ReplyChargingSize()
|
TInt
| ReplyChargingSize | ( | ) | const [inline] |
ReplyChargingSize accessor.
ReportAllowed()
|
TInt32
| ReportAllowed | ( | ) | const [inline] |
Reset(CMmsSettings *)
Parameters
| CMmsSettings * aSettings = NULL | MMS settings to be used for initial values. Can be NULL. |
ResponseStatus()
|
TInt32
| ResponseStatus | ( | ) | const [inline] |
ResponseText()
| IMPORT_C TPtrC | ResponseText | ( | ) | const |
Response text accessor. Same string is used for Response text, Retrieve text and Status text as all strings are information messages coming in from the MMSC and only one of them can be present in any PDU
RootContentId()
| IMPORT_C TPtrC8 | RootContentId | ( | ) | const |
Root Content-ID accessor.
Sender()
| IMPORT_C TPtrC | Sender | ( | ) | const |
SenderVisibility()
|
TInt
| SenderVisibility | ( | ) | [inline] |
Sender visibility accessor.
SetAdaptationAllowed(TInt)
| void | SetAdaptationAllowed | ( | TInt | aAdaptationAllowed | ) | [inline] |
Set the header that tells if MMSC is allowed to alter the message (make it smaller).
Parameters
| TInt aAdaptationAllowed | Adaptation allowed header. Possible values:KMmsYesKMmsNo |
SetApplicIdL(const TDesC16 &)
| IMPORT_C void | SetApplicIdL | ( | const TDesC16 & | aApplicId | ) | |
Identification of the destination application mutator.
Parameters
| const TDesC16 & aApplicId | application ID |
SetAuxApplicInfoL(const TDesC8 &)
| IMPORT_C void | SetAuxApplicInfoL | ( | const TDesC8 & | aAuxApplicInfo | ) | |
Auxiliary application information for internal use of the destination application mutator.
Parameters
| const TDesC8 & aAuxApplicInfo | auxiliary application info |
SetCancelStatus(TInt)
| void | SetCancelStatus | ( | TInt | aCancelStatus | ) | [inline] |
Set status of cancel operation
Parameters
| TInt aCancelStatus | Status of cancel operation. Possible values:KMmsCancelRequestSuccessfullyReceivedKMmsCancelRequestCorrupted |
SetContentClass(TInt)
| void | SetContentClass | ( | TInt | aContentClass | ) | [inline] |
Set the content class of the message as specified in MMS encapsulation 1.3-
Parameters
| TInt aContentClass | content class value from mmsconst.hKMmsContentClassTextKMmsContentClassImageBasicKMmsContentClassImageRichKMmsContentClassVideoBasicKMmsContentClassVideoRichKMmsContentClassMegaPixelKMmsContentClassContentBasicKMmsContentClassContentRich |
SetContentLocationL(const TDesC8 &)
| IMPORT_C void | SetContentLocationL | ( | const TDesC8 & | aURL | ) | |
Content-Location mutator. Used in a Message Notification.
Parameters
| const TDesC8 & aURL | URL of the message. |
SetDate(TInt64)
| void | SetDate | ( | TInt64 | aTime | ) | [inline] |
Parameters
| TInt64 aTime | seconds from 1.1. 1970 Date must be in UTC time zone |
SetDeliveryDate(TInt64)
| IMPORT_C void | SetDeliveryDate | ( | TInt64 | aDate | ) | |
Parameters
| TInt64 aDate | The date and time the message will be delivered to the recipient by the MMSC in seconds from 1970-01-01. Date must be in UTC time zone |
SetDeliveryReport(TInt)
| void | SetDeliveryReport | ( | TInt | aRequest | ) | [inline] |
Delivery Report Request mutator.
Parameters
| TInt aRequest | Yes or No (values defined in MMSCONST.H) |
SetDeliveryTimeInterval(TInt)
| IMPORT_C void | SetDeliveryTimeInterval | ( | TInt | aInterval | ) | |
Delivery time interval mutator.
Parameters
| TInt aInterval | The length of time after which the message will be delivered to the recipient by the MMSC. Expressed in seconds. |
SetDistributionIndicator(const TInt)
| void | SetDistributionIndicator | ( | const TInt | aDistributionIndicator | ) | [inline] |
Distribution indicator mutator
- Since
- 2.6
Parameters
| const TInt aDistributionIndicator | X-Mms-DistributionIndicator value KMmsYes/KMmsNo |
SetDrmContent(TInt)
| void | SetDrmContent | ( | TInt | aDrmContent | ) | [inline] |
Set DRM Content indicator header.
Parameters
| TInt aDrmContent | Messag has DRM content. Possible values:KMmsYesKMmsNo |
SetExpiryDate(TInt64)
| IMPORT_C void | SetExpiryDate | ( | TInt64 | aDate | ) | |
Parameters
| TInt64 aDate | The date and time the message will expire in seconds from 1970-01-01. Date must be in UTC time zone |
SetExpiryInterval(TInt)
| IMPORT_C void | SetExpiryInterval | ( | TInt | aInterval | ) | |
Expiration interval mutator
Parameters
| TInt aInterval | The length of time after which the message is discarded by MMSC. Expressed in seconds. |
SetExtendedNotificationL(const TDesC &)
| IMPORT_C void | SetExtendedNotificationL | ( | const TDesC & | aText | ) | |
Extended Notification mutator.
- Since
- 2.6
Parameters
| const TDesC & aText | Extended notification text. |
SetMaximumImage(TInt, TInt)
| IMPORT_C void | SetMaximumImage | ( | TInt | aWidth, |
| | TInt | aHeight |
| | ) | |
Maximum image size mutator.
Parameters
| TInt aWidth | image width |
| TInt aHeight | image height |
SetMessageClass(TInt)
| void | SetMessageClass | ( | TInt | aClass | ) | [inline] |
Message class mutator values defined in MMSCONST.H
SetMessageComplete(TInt)
| void | SetMessageComplete | ( | TInt | aExtensionStatus | ) | [inline] |
Message complete indicator mutator
- Since
- 2.6
Parameters
| TInt aExtensionStatus | indicator that tells if the whole message fits into extension text string. 0x20 = Message body size > text, message retrieval uncomplete 0x30 = Message retrieval complete (whole message body in IExtendedNotificationText) other values reserved. |
SetMessageIdL(const TDesC8 &)
| IMPORT_C void | SetMessageIdL | ( | const TDesC8 & | aId | ) | |
SetMessagePriority(TInt)
| void | SetMessagePriority | ( | TInt | aPriority | ) | [inline] |
Message priority mutator (Low/Normal/High). Default: Normal.
Parameters
| TInt aPriority | Message priority, values defined in MMSCONST.H |
SetMessageRoot(const TMsvAttachmentId)
Message root part mutator.
Parameters
| const TMsvAttachmentId aId | Id of the message part that should be displayed first. Should point to the SMIL part that starts the message display. |
SetMessageSize(TInt)
| void | SetMessageSize | ( | TInt | aSize | ) | [inline] |
Parameters
| TInt aSize | Message-Size in bytes. Used in a Message Notification. |
SetMessageType(TInt)
| void | SetMessageType | ( | TInt | aType | ) | [inline] |
SetMmsVersion(TInt16)
| void | SetMmsVersion | ( | TInt16 | aVersion | ) | [inline] |
SetMultipartType(const TInt)
| void | SetMultipartType | ( | const TInt | aMultipartType | ) | [inline] |
Multipart type mutator
- Since
- 2.6
Parameters
| const TInt aMultipartType | type of multipart data saved to this entry (WSP assigned number) |
SetReadReply(TInt)
| void | SetReadReply | ( | TInt | aRequest | ) | [inline] |
Read Reply Request mutator.
Parameters
| TInt aRequest | Yes or No (values defined in MMSCONST.H) |
SetReadStatus(const TInt)
| void | SetReadStatus | ( | const TInt | aReadStatus | ) | [inline] |
Parameters
| const TInt aReadStatus | status value. See mmsconst.h. |
SetReceivingTime(TTime)
| void | SetReceivingTime | ( | TTime | aTime | ) | [inline] |
Save the time when the message was received. This header allows the iDate field in TMsvEntry to contain either the receiving time or the sending time. If the TMsvEntry shows the sending time, the receiving time can be accessed through this field.
Parameters
| TTime aTime | time in UTC time zone when the message has been received. |
SetRecommendedRetrievalMode(TInt)
| void | SetRecommendedRetrievalMode | ( | TInt | aRetrievalMode | ) | [inline] |
Set recommended retrieval mode. This header appears in a notification and may recommend manual retrieval.
Parameters
| TInt aRetrievalMode | Suggested retrieval mode. Possible valuesKMmsRecommendedRetrievalModeManual |
SetRecommendedRetrievalModeTextL(const TDesC16 &)
| IMPORT_C void | SetRecommendedRetrievalModeTextL | ( | const TDesC16 & | aRecommendedRetrievalModeText | ) | |
Set explanation why retrival mode is recommended
Parameters
| const TDesC16 & aRecommendedRetrievalModeText | |
SetRelatedEntry(const TMsvId)
| void | SetRelatedEntry | ( | const TMsvId | aRelatedEntry | ) | [inline] |
Related entry mutator
- Since
- 2.6
Parameters
| const TMsvId aRelatedEntry | Id of an entry that is connected to this one by some relationship |
SetReplaceCancelIdL(const TDesC8 &)
| IMPORT_C void | SetReplaceCancelIdL | ( | const TDesC8 & | aReplaceCancelId | ) | |
Set id of message to be replaced or cancelled
Parameters
| const TDesC8 & aReplaceCancelId | |
SetReplyApplicIdL(const TDesC16 &)
| IMPORT_C void | SetReplyApplicIdL | ( | const TDesC16 & | aApplicId | ) | |
Identification of an application to which replies are addressed mutator.
Parameters
| const TDesC16 & aApplicId | reply to application ID |
SetReplyCharging(const TInt)
| void | SetReplyCharging | ( | const TInt | aReplyCharging | ) | [inline] |
Parameters
| const TInt aReplyCharging | value. See mmsconst.h |
SetReplyChargingDate(TInt64)
| IMPORT_C void | SetReplyChargingDate | ( | TInt64 | aDate | ) | |
ReplyCharging date mutator.
Parameters
| TInt64 aDate | The date and time until which the sender pays charges for reply in seconds from 1970-01-01. Date must be in UTC time zone |
SetReplyChargingIdL(const TDesC8 &)
| IMPORT_C void | SetReplyChargingIdL | ( | const TDesC8 & | aId | ) | |
Parameters
| const TDesC8 & aId | original message ID to which this is a reply to |
SetReplyChargingInterval(TInt)
| IMPORT_C void | SetReplyChargingInterval | ( | TInt | aInterval | ) | |
ReplyCharging interval mutator.
Parameters
| TInt aInterval | The length of time during which the sender pays charges for reply. Expressed in seconds. |
SetReplyChargingSize(const TInt)
| void | SetReplyChargingSize | ( | const TInt | aReplyChargingSize | ) | [inline] |
ReplyChargingSize mutator.
Parameters
| const TInt aReplyChargingSize | maximum size of message for which reply charging applies. |
SetReportAllowed(TInt32)
| void | SetReportAllowed | ( | TInt32 | aValue | ) | [inline] |
Parameters
| TInt32 aValue | Report-Allowed value |
SetResponseStatus(TInt32)
| void | SetResponseStatus | ( | TInt32 | aValue | ) | [inline] |
Parameters
| TInt32 aValue | Response-Status value |
SetResponseTextL(const TDesC &)
| IMPORT_C void | SetResponseTextL | ( | const TDesC & | aText | ) | |
Response text mutator. Same string is used for Response text, Retrieve text and Status text as all strings are information messages coming in from the MMSC and only one of them can be present in any PDU
Parameters
| const TDesC & aText | Response text string |
SetRootContentIdL(const TDesC8 &)
| IMPORT_C void | SetRootContentIdL | ( | const TDesC8 & | aId | ) | |
SetSenderL(const TDesC &)
| IMPORT_C void | SetSenderL | ( | const TDesC & | aAlias | ) | |
SetSenderVisibility(TInt)
| void | SetSenderVisibility | ( | TInt | aVisibility | ) | [inline] |
Sender visibility mutator.
Parameters
| TInt aVisibility | Hide or Show (values defined in MMSCONST.H) |
SetSettings(CMmsSettings *)
Set initial setting values from service settings
SetStatus(const TInt)
| void | SetStatus | ( | const TInt | aStatus | ) | [inline] |
Parameters
| const TInt aStatus | status value. See mmsconst.h. |
SetSubjectL(const TDesC &)
| IMPORT_C void | SetSubjectL | ( | const TDesC & | aSubject | ) | |
Parameters
| const TDesC & aSubject | subject string, |
SetTidL(const TDesC8 &)
| IMPORT_C void | SetTidL | ( | const TDesC8 & | aCid | ) | |
Parameters
| const TDesC8 & aCid | transaction ID |
Size()
Size of the MMS headers object in memory. The multipart objet size is not included.
Status()
|
TInt
| Status | ( | ) | const [inline] |
StoreL(CMsvStore &)
Externalize the headers. Caller must commit the store to allow several store operations before committing the store
Subject()
| IMPORT_C TPtrC | Subject | ( | ) | const |
ToRecipients()
Give const access to the "To" recipient list
TypedAddresseeList(TMmsRecipients)
| IMPORT_C const CDesCArray & | TypedAddresseeList | ( | TMmsRecipients | aType | ) | |
Returns recipients that are of specified type (To, Cc, Bcc).
Parameters
| TMmsRecipients aType | specifies recipient type (types defined in MMSCONST.H) |
Member Data Documentation
TInt32
iAdaptationAllowed
|
TInt32
| iAdaptationAllowed | [private] |
HBufC * iApplicationId
|
HBufC * | iApplicationId | [private] |
HBufC8 * iApplicationInfo
|
HBufC8 * | iApplicationInfo | [private] |
HBufC8 * iContentLocation
|
HBufC8 * | iContentLocation | [private] |
RPointerArray< CMmsDeleteResultArray > iDeleteResultArray
TLinearOrder< CMmsDeleteResultArray > iDeleteResultOrder
TBool
iDeliveryAbs
|
TBool
| iDeliveryAbs | [private] |
TInt32
iDistributionIndicator
|
TInt32
| iDistributionIndicator | [private] |
CMmsElementDescriptor * iElementDescriptor
TBool
iExpiryAbs
|
TBool
| iExpiryAbs | [private] |
HBufC * iExtendedNotificationText
|
HBufC * | iExtendedNotificationText | [private] |
TInt
iExtensionStatus
|
TInt
| iExtensionStatus | [private] |
TLinearOrder< CMmsSendingChain > iLinearOrder
TInt32
iMaxImageHeight
|
TInt32
| iMaxImageHeight | [private] |
TInt32
iMaxImageWidth
|
TInt32
| iMaxImageWidth | [private] |
CMmsMMBoxMessageHeaders * iMmBoxMessageHeaders
CMmsMMBoxViewHeaders * iMmBoxViewHeaders
TInt16
iMmsDefaultVersion
|
TInt16
| iMmsDefaultVersion | [private] |
TInt32
iMultipartType
|
TInt32
| iMultipartType | [private] |
HBufC * iOperatorResponseText
|
HBufC * | iOperatorResponseText | [private] |
RPointerArray< CMmsSendingChain > iPreviouslySentArray
TTime
iReceivingTime
|
TTime
| iReceivingTime | [private] |
TInt32
iRecommendedRetrievalMode
|
TInt32
| iRecommendedRetrievalMode | [private] |
HBufC * iRecommendedRetrievalModeText
|
HBufC * | iRecommendedRetrievalModeText | [private] |
HBufC8 * iReplaceCancelId
|
HBufC8 * | iReplaceCancelId | [private] |
TInt32
iReplyCharging
|
TInt32
| iReplyCharging | [private] |
TBool
iReplyChargingAbs
|
TBool
| iReplyChargingAbs | [private] |
TInt64
iReplyChargingDeadline
|
TInt64
| iReplyChargingDeadline | [private] |
HBufC8 * iReplyChargingId
|
HBufC8 * | iReplyChargingId | [private] |
TInt32
iReplyChargingSize
|
TInt32
| iReplyChargingSize | [private] |
HBufC * iReplyToApplicationId
|
HBufC * | iReplyToApplicationId | [private] |
TInt32
iReportAllowed
|
TInt32
| iReportAllowed | [private] |
TInt32
iResponseStatus
|
TInt32
| iResponseStatus | [private] |
HBufC8 * iRootContentID
|
HBufC8 * | iRootContentID | [private] |
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.