The capability WriteDeviceData is required in:
CMmsClientMtm::CreateServiceL
CMmsClientMtm::StoreSettingsL
Methods CreateServiceL and StoreSettingsL are for managing MMS service
settings. They are not needed for receiving and sending MMS messages,
so in practise 3rd parties do not need the WriteDeviceData capability.
|
Defines
|
#define |
EMmsTo EMsvRecipientTo
|
#define |
EMmsCc EMsvRecipientCc
|
#define |
EMmsBcc EMsvRecipientBcc
|
#define |
EMmsDeliveryReportYes EMmsYes
|
#define |
EMmsDeliveryReportNo EMmsNo
|
#define |
EMmsDeliveryReportAllowedYes EMmsYes
|
#define |
EMmsDeliveryReportAllowedNo EMmsNo
|
#define |
EMmsReadReplyYes EMmsYes
|
#define |
EMmsReadreplyNo EMmsNo
|
#define |
EMmsReadReplyAllowedYes EMmsYes
|
#define |
EMmsReadReplyAllowedNo EMmsNo
|
Typedefs
|
typedef TMsvRecipientType |
TMmsRecipients |
typedef TMmsYesNo
|
TMmsMessageDeliveryReport |
typedef TMmsYesNo
|
TMmsSettingsDeliveryReportAllowed |
typedef TMmsYesNo
|
TMmsMessageReadReply |
typedef TMmsYesNo
|
TMmsSettingsReadReplyAllowed |
Enumerations
|
enum |
TMmsAddressType {
EMmsAddressTypeUnknown = 0,
EMmsAddressTypeMobile,
EMmsAddressTypeEmail,
EMmsAddressTypeIpv4,
EMmsAddressTypeIpv6
}
|
enum |
TMmsPanic {
EMmsBadMtmTypeUid = KErrNone+1,
EMmsNoCMsvEntrySet,
EMmsEntryTypeNotSupported,
EMmsHeadersNotFound,
EMmsAlreadyBusy,
EMmsUnknownState,
EMmsActiveInFinalProgress,
EMmsFinalProgressFailed,
EMmsNotAMessageEntry
}
|
enum |
TMmsYesNo { EMmsYes = KMmsYes,
EMmsNo = KMmsNo
}
|
enum |
TMmsMessageClass {
EMmsMimimumMessageClass = KMmsMessageClassPersonal,
EMmsClassPersonal = KMmsMessageClassPersonal,
EMmsClassAdvertisement = KMmsMessageClassAdvertisement,
EMmsClassInformational = KMmsMessageClassInformational,
EMmsClassAuto = KMmsMessageClassAuto,
EMmsMaximumMessageClass = KMmsMessageClassAuto
}
|
enum |
TMmsMessagePriority {
EMmsMinimumPriority = KMmsPriorityLow,
EMmsPriorityLow = KMmsPriorityLow,
EMmsPriorityNormal = KMmsPriorityNormal,
EMmsPriorityHigh = KMmsPriorityHigh,
EMmsMaximumPriority = KMmsPriorityHigh
}
|
enum |
TMmsMessageSenderVisibility {
EMmsSenderVisibilityDefault = 0,
EMmsMinimumSenderVisibility = KMmsSenderHide,
EMmsSenderVisibilityHide = KMmsSenderHide,
EMmsSenderVisibilityShow = KMmsSenderShow,
EMmsMaximumSenderVisibility = KMmsSenderShow
}
|
enum |
TMmsCreationMode { EMmsCreationModeRestricted = 0,
EMmsCreationModeWarning = 1,
EMmsCreationModeFree = 2
}
|
enum |
TMmsMessageType {
EMmsMSendReq = KMmsMessageTypeMSendReq,
EMmsMSendConf = KMmsMessageTypeMSendConf,
EMmsNotificationInd = KMmsMessageTypeMNotificationInd,
EMmsNotifyRespInd = KMmsMessageTypeMNotifyRespInd,
EMmsRetrieveConf = KMmsMessageTypeMRetrieveConf,
EMmsAcknowledgeInd = KMmsMessageTypeAcknowledgeInd,
EMmsDeliveryInd = KMmsMessageTypeDeliveryInd,
EMmsReadRecInd = KMmsMessageTypeReadRecInd,
EMmsReadOrigInd = KMmsMessageTypeReadOrigInd,
EMmsForwardReq = KMmsMessageTypeForwardReq,
EMmsForwardConf = KMmsMessageTypeForwardConf
}
|
enum |
TMmsMessageStatus {
EMmsStatusExpired = KMmsMessageStatusExpired,
EMmsStatusRetrieved = KMmsMessageStatusRetrieved,
EMmsStatusRejected = KMmsMessageStatusRejected,
EMmsStatusDeferred = KMmsMessageStatusDeferred,
EMmsStatusUnrecognized = KMmsMessageStatusUnrecognized,
EMmsStatusIndeterminate = KMmsMessageStatusIndeterminate,
EMmsStatusForwarded = KMmsMessageStatusForwarded,
EMmsStatusUnreachable = KMmsMessageStatusUnreachable
}
|
enum |
TMmsReadStatus { EMmsReadStatusRead = KMmsReadStatusRead,
EMmsReadStatusDeletedWithoutBeingRead = KMmsReadStatusDeletedWithoutBeingRead
}
|
enum |
TMmsReplyCharging { EMmsReplyChargingRequested = KMmsReplyChargingRequested,
EMmsReplyChargingRequestedTextOnly = KMmsReplyChargingRequestedTextOnly,
EMmsReplyChargingAccepted = KMmsReplyChargingAccepted,
EMmsReplyChargingAcceptedTextOnly = KMmsReplyChargingAcceptedTextOnly
}
|
enum |
TMmsReceivingMode {
EMmsReceivingMin = 1,
EMmsReceivingAutomatic = EMmsReceivingMin,
EMmsReceivingManual = EMmsReceivingMin + 1,
EMmsReceivingPostpone = EMmsReceivingManual + 1,
EMmsReceivingReject = EMmsReceivingPostpone + 1,
EMmsReceivingMax = EMmsReceivingReject
}
|
enum |
TMmsFactorySettingsLevel { EMmsFactorySettingsLevelNormal = 0x0,
EMmsFactorySettingsLevelDeep
}
|
enum |
TMmsDeleteOperationType { EMmsDeleteNotificationOnly,
EMmsDeleteMMBoxOnly,
EMmsDeleteBoth
}
|
Functions
|
|
_LIT (KMmsYear1970String,"19700000:000000.000000")
|
|
_LIT (KMmsResourceDriveAndFile,"z:mmsserver.rsc")
|
|
_LIT (KMMSNotificationFolder,"MMSNotifications")
|
|
_LIT (KMmsMmboxFolder,"MmsMmbox")
|
|
_LIT8 (KMmsAny,"*/*")
|
|
_LIT8 (KMmsTextPlain,"text/plain")
|
|
_LIT8 (KMmsApplicationSmil,"application/smil")
|
|
_LIT8 (KMmsUnknownType,"application/octet-stream")
|
|
_LIT8 (KMmsMultipartReport,"multipart/report")
|
|
_LIT8 (KMmsDrmMessageCT,"vnd.oma.drm.message")
|
|
_LIT8 (KMmsDrmContentCT,"vnd.oma.drm.content")
|
|
_LIT8 (KMmsDrmRightsTFCT,"vnd.oma.drm.rights+xml")
|
|
_LIT8 (KMmsDrmRightsBFCT,"vnd.oma.drm.rights+wbxml")
|
|
_LIT8 (KMmsDrmDcfCT,"vnd.oma.drm.dcf")
|
|
_LIT8 (KMmsJavaApplicationId,"Application-ID")
|
|
_LIT8 (KMmsJavaReplyApplicationId,"Reply-To-Application-ID")
|
|
_LIT (KLf16,"\x00A")
|
|
_LIT (KCr16,"\x00D")
|
|
_LIT (KSpace16," ")
|
|
_LIT (KEqualsQuestion16,"=?")
|
|
_LIT (KQuote16,"\x022")
|
|
_LIT (KMmsUnicodeLineSeparator,"\x2028")
|
|
_LIT (KMmsUnicodeParagraphSeparator,"\x2029")
|
|
_LIT (KMmsIdeographicSpace,"\x3000")
|
|
_LIT8 (KLf8,"\x00A")
|
|
_LIT8 (KCr8,"\x00D")
|
|
_LIT8 (KSpace8," ")
|
|
_LIT8 (KSemicolon8,";")
|
|
_LIT8 (KEquals8,"=")
|
|
_LIT8 (KMmsSlash8,"/")
|
|
_LIT8 (KMmsLeftAngle,"<")
|
|
_LIT8 (KMmsRightAngle,">")
|
Variables
|
const TInt |
KMmsMillion = 1000000
|
const TInt |
KMmsDateBufferLength = 30
|
const TInt |
KMmsImageSmallWidth = 160
|
const TInt |
KMmsImageSmallHeight = 120
|
const TInt |
KMmsImageLargeWidth = 640
|
const TInt |
KMmsImageLargeHeight = 480
|
const TInt |
KMmsImageOriginalWidth = KMaxTInt
|
const TInt |
KMmsImageOriginalHeight = KMaxTInt
|
const TInt |
KMmsIndexEntryExtra = 80
|
const TInt |
KMmsDiskSafetyMargin = 25000
|
const TUid |
KUidMmsServerMtm = {0x100058DB}
|
const TUid |
KUidMmsClientMtm = {0x100058DC}
|
const TUid |
KUidMmsClientUIMtm = {0x100058DD}
|
const TUid |
KUidMmsClientUIDataMtm = {0x100058DD}
|
const TInt |
KUidMsgMmsEditor = {0x100058DE}
|
const TInt |
KUidMsgMmsViewer = {0x100058DF}
|
const TUid |
KUidMsgTypeMultimedia = {0x100058E1}
|
const TUid |
KUidMsvTechnologyGroupMMS = {0x100058E2}
|
const TUid |
KUidMsgMMSNotification = {0x100059C8}
|
const TUid |
KUidMsgSubTypeMmsUpload = {0x102072CD}
|
const TUid |
KUidMsgSubTypeMmsPostcard = {0x102072CE}
|
const TUid |
KUidMsgSubTypeMmsAudioMsg = {0x1020744F}
|
const TUid |
KUidMmsHeaderStream = {0x101FB0ED}
|
const TUid |
KUidMmsRecipientStream = {0x101FB0EE}
|
const TUid |
KUidBinaryNotificationStream = {0x101FB0EF}
|
const TUid |
KUidMMsElementDescriptorStream = {0x101FB0F0}
|
const TUid |
KUidMMsMMBoxMessageHeaderStream = {0x101FB0F1}
|
const TUid |
KUidMMsMMBoxViewHeadersStream = {0x101FB0F2}
|
const TUid |
KUidMMsExtendedNotificationStream = {0x101FB0F3}
|
const TUid |
KUidMmsAttributeStream = {0x101FB0F4}
|
const TUid |
KUidMmsApplicationInfoStream = {0x101FB0F5}
|
const TUid |
KUidMmsReserved = {0x101FB0F6}
|
const TUid |
KLogMmsEventTypeUid = {0x1000595e}
|
const TUint32 |
KMmsMessageTypeMask = 0x0000000F
|
const TUint32 |
KMmsMessageMSendReq = 0x00000001
|
const TUint32 |
KMmsMessageMNotificationInd = 0x00000003
|
const TUint32 |
KMmsMessageMRetrieveConf = 0x00000005
|
const TUint32 |
KMmsMessageDeliveryInd = 0x00000007
|
const TUint32 |
KMmsMessageReadRecInd = 0x00000008
|
const TUint32 |
KMmsMessageReadOrigInd = 0x00000009
|
const TUint32 |
KMmsMessageForwardReq = 0x0000000A
|
const TUint32 |
KMmsMessageUnrecognized = 0x0000000F
|
const TUint32 |
KMmsMessageEncrypted = 0x00000010
|
const TUint32 |
KMmsMessageSigned = 0x00000020
|
const TUint32 |
KMmsMessageForwarded = 0x00000040
|
const TUint32 |
KMmsMessageMobileTerminated = 0x00000080
|
const TUint32 |
KMmsMessageEditorOriented = 0x00000100
|
const TUint32 |
KMmsAttributeStreamPresent = 0x00000200
|
const TUint32 |
KMmsMessageClassMask = 0x0000F000
|
const TUint32 |
KMmsMessageAdvertisement = 0x00001000
|
const TUint32 |
KMmsMessageInformational = 0x00002000
|
const TUint32 |
KMmsReservedMtmData1 = 0x00FF0000
|
const TUint32 |
KMmsNonConformantMessage = 0x01000000
|
const TUint32 |
EMmsDrmCorruptedAttachment = 0x02000000
|
const TUint32 |
KMmsSpecialContentMask = 0xF0000000
|
const TUint32 |
KMmsPostcard = 0x20000000
|
const TUint32 |
KMmsUpload = 0x40000000
|
const TUint32 |
KMmsNotifyResponseSent = 0x00000001
|
const TUint32 |
KMmsNotificationBinary = 0x00000002
|
const TUint32 |
KMmsMessageExpired = 0x00000004
|
const TUint32 |
KMmsDeleteAtExpiration = 0x00000008
|
const TUint32 |
KMmsOperationIdentifier = 0x00000070
|
const TUint32 |
KMmsOperationFetch = 0x00000010
|
const TUint32 |
KMmsOperationForward = 0x00000020
|
const TUint32 |
KMmsOperationDelete = 0x00000030
|
const TUint32 |
KMmsNewOperationForbidden = 0x00000080
|
const TUint32 |
KMmsOperationOngoing = 0x00000100
|
const TUint32 |
KMmsOperationFinished = 0x00000200
|
const TUint32 |
KMmsOperationResult = 0x00000400
|
const TUint32 |
KMmsStoredInMMBox = 0x00000800
|
const TUint32 |
KMmsDeferredButResponseNotSent = 0x00001000
|
const TUint32 |
KMmsDoNotMoveToInbox = 0x00002000
|
const TUint32 |
KMmsMessageRoutedToApplication = 0x00004000
|
const TUint32 |
KMmsReservedMtmData2 = 0x000F8000
|
const TUint32 |
KMmsDeliveryStatusMask = 0x00F00000
|
const TUint32 |
KMmsDeliveryStatusNotRequested = 0x00000000
|
const TUint32 |
KMmsDeliveryStatusPending = 0x00100000
|
const TUint32 |
KMmsDeliveryStatusPartial = 0x00200000
|
const TUint32 |
KMmsDeliveryStatysFailed = 0x00400000
|
const TUint32 |
KMmsDeliveryStatysDelivered = 0x00800000
|
const TUint32 |
KMmsReservedForUI = 0xFF000000
|
const TUint32 |
KMmsRetryCountMask = 0x0000000F
|
const TUint32 |
KMmsManualRetryCountMask = 0x000000F0
|
const TInt |
KMmsManualRetryCountShift = 4
|
const TUint32 |
KMmsSentItemTotalRecipientsMask = 0x0000FF00
|
const TInt |
KMmsSentItemTotalRecipientsShift = 8
|
const TUint32 |
KMmsSentItemSuccessfullyDeliveredMask = 0x00FF0000
|
const TInt |
KMmsSentItemSuccessfullyDeliveredShift = 16
|
const TUint32 |
KMmsSentItemFailedDeliveryMask = 0xFF000000
|
const TInt |
KMmsSentItemFailedDeliveryShift = 24
|
const TUint16 |
KMmsByteOrderMark = 0xFEFF
|
const TUint16 |
KMmsReversedByteOrderMark = 0xFFFE
|
const TInt |
KMmsMaxDescription = 128
|
const TInt8 |
KUidMmsWSPMultiPartMixed = 0x23
|
const TInt8 |
KUidMmsWSPMultiPartRelated = 0x33
|
const TUint8 |
KMmsMessageClassPersonal = 128
|
const TUint8 |
KMmsMessageClassAdvertisement = 129
|
const TUint8 |
KMmsMessageClassInformational = 130
|
const TUint8 |
KMmsMessageClassAuto = 131
|
const TUint8 |
KMmsMessageTypeMSendReq = 128
|
const TUint8 |
KMmsMessageTypeMSendConf = 129
|
const TUint8 |
KMmsMessageTypeMNotificationInd = 130
|
const TUint8 |
KMmsMessageTypeMNotifyRespInd = 131
|
const TUint8 |
KMmsMessageTypeMRetrieveConf = 132
|
const TUint8 |
KMmsMessageTypeAcknowledgeInd = 133
|
const TUint8 |
KMmsMessageTypeDeliveryInd = 134
|
const TUint8 |
KMmsMessageTypeReadRecInd = 135
|
const TUint8 |
KMmsMessageTypeReadOrigInd = 136
|
const TUint8 |
KMmsMessageTypeForwardReq = 137
|
const TUint8 |
KMmsMessageTypeForwardConf = 138
|
const TUint8 |
KMmsMessageTypeMboxStoreReq = 139
|
const TUint8 |
KMmsMessageTypeMboxStoreConf = 140
|
const TUint8 |
KMmsMessageTypeMboxViewReq = 141
|
const TUint8 |
KMmsMessageTypeMboxViewConf = 142
|
const TUint8 |
KMmsMessageTypeMBoxUploadReq = 143
|
const TUint8 |
KMmsMessageTypeMBoxUploadConf = 144
|
const TUint8 |
KMmsMessageTypeMBoxDeleteReq = 145
|
const TUint8 |
KMmsMessageTypeMBoxDeleteConf = 146
|
const TUint8 |
KMmsMessageTypeMBoxDescr = 147
|
const TUint8 |
KMmsMessageTypeDeleteReq = 148
|
const TUint8 |
KMmsMessageTypeDeleteConf = 149
|
const TUint8 |
KMmsMessageTypeCancelReq = 150
|
const TUint8 |
KMmsMessageTypeCancelConf = 151
|
const TUint8 |
KMmsPriorityLow = 128
|
const TUint8 |
KMmsPriorityNormal = 129
|
const TUint8 |
KMmsPriorityHigh = 130
|
const TUint8 |
KMmsYes = 128
|
const TUint8 |
KMmsNo = 129
|
const TUint8 |
KMmsSenderHide = 128
|
const TUint8 |
KMmsSenderShow = 129
|
const TUint8 |
KMmsMessageStatusExpired = 128
|
const TUint8 |
KMmsMessageStatusRetrieved = 129
|
const TUint8 |
KMmsMessageStatusRejected = 130
|
const TUint8 |
KMmsMessageStatusDeferred = 131
|
const TUint8 |
KMmsMessageStatusUnrecognized = 132
|
const TUint8 |
KMmsMessageStatusIndeterminate = 133
|
const TUint8 |
KMmsMessageStatusForwarded = 134
|
const TUint8 |
KMmsMessageStatusUnreachable = 135
|
const TUint8 |
KMmsReadStatusRead = 128
|
const TUint8 |
KMmsReadStatusDeletedWithoutBeingRead = 129
|
const TUint8 |
KMmsReplyChargingRequested = 128
|
const TUint8 |
KMmsReplyChargingRequestedTextOnly = 129
|
const TUint8 |
KMmsReplyChargingAccepted = 130
|
const TUint8 |
KMmsReplyChargingAcceptedTextOnly = 131
|
const TUint8 |
KMmsMessageCountToken = 128
|
const TUint8 |
KMmsMessageSizeToken = 129
|
const TUint8 |
KMmsAddToken = 128
|
const TUint8 |
KMmsRemoveToken = 129
|
const TUint8 |
KMmsFilterToken = 130
|
const TUint8 |
KMmsDraft = 128
|
const TUint8 |
KMmsSent = 129
|
const TUint8 |
KMmsNew = 130
|
const TUint8 |
KMmsRetrieved = 131
|
const TUint8 |
KMmsForwarded = 132
|
const TInt |
KMmsResponseStatusOK = 128
|
const TUint8 |
KMmsCancelRequestSuccessfullyReceived = 128
|
const TUint8 |
KMmsCancelRequestCorrupted = 129
|
const TUint8 |
KMmsContentClassText = 128
|
const TUint8 |
KMmsContentClassImageBasic = 129
|
const TUint8 |
KMmsContentClassImageRich = 130
|
const TUint8 |
KMmsContentClassVideoBasic = 131
|
const TUint8 |
KMmsContentClassVideoRich = 132
|
const TUint8 |
KMmsContentClassMegaPixel = 133
|
const TUint8 |
KMmsContentClassContentBasic = 134
|
const TUint8 |
KMmsContentClassContentRich = 135
|
const TUint8 |
KMmsRecommendedRetrievalModeManual = 128
|
const TUint8 |
KMmsAssignedAny = 0x00
|
const TUint8 |
KMmsAssignedText = 0x01
|
const TUint8 |
KMmsAssignedTextPlain = 0x03
|
const TUint8 |
KMmsAssignedApplicationVndWapMultipart = 0x22
|
const TUint8 |
KMmsAssignedApplicationVndWapMultipartMixed = 0x23
|
const TUint8 |
KMmsAssignedApplicationVndWapMultipartAlternative = 0x26
|
const TUint8 |
KMmsAssignedApplicationXml = 0x27
|
const TUint8 |
KMmsAssignedApplicationVndWapWbxml = 0x29
|
const TUint8 |
KMmsAssignedApplicationVndWapMultipartRelated = 0x33
|
const TUint8 |
KMmsUtf8 = 0x6A
|
const TUint8 |
KMmsUsAscii = 0x03
|
const TUint |
KMmsIso10646Ucs2 = 0x03E8
|
const TUint |
KMmsUTF16 = 0x03F7
|
const TUint |
KMmsUTF16BE = 0x03F5
|
const TUint |
KMmsUTF16LE = 0x03F6
|
const TUint |
KMmsUtf7 = 0x03F4
|