CMmsConformance Class Reference
class CMmsConformance : public CBase |
Constructor & Destructor Documentation
CMmsConformance()
CMmsConformance | ( | ) | [private] |
~CMmsConformance()
~CMmsConformance | ( | ) | [virtual] |
Member Functions Documentation
CheckCharacterSet(TBool)
void | CheckCharacterSet | ( | TBool | aCheck | ) | [inline] |
CheckCharacterSet
With this method it is possible to control whether the conformance of the character set is checked for text/plain files.
By default character set conformance is checked, i.e. CheckCharacterSet flag is ETrue.
If set EFalse the client is responsible for converting the character set to a conformant one (either US-ASCII or UTF-8).
Parameters
TBool aCheck | ETrue, character set conformance is checked, EFalse, character set conformance is not checked. |
CheckDRMStatus()
void | CheckDRMStatus | ( | ) | [private] |
CheckFileSize()
TBool
| CheckFileSize | ( | ) | [private] |
Determines conformance based on the file size.
CheckImageSize()
TBool
| CheckImageSize | ( | ) | [private] |
Determines conformance of an image file based on the file size and the image resolution.
ClassByImageResolution(TSize)
Subfunction of CheckImageSize. Determines enumeration from image resolution
Parameters
TSize aImageSize | Size of the image |
ConformanceVersion()
TUint8
| ConformanceVersion | ( | ) | const [inline] |
Get the OMA Conformance Document version supported by the current implementation.
ConformanceVersionL()
IMPORT_C TUint8 | ConformanceVersionL | ( | ) | [static] |
Static version of the function that returns the OMA Conformance Document version supported by the current implementation.
ConstructL()
void | ConstructL | ( | ) | [private] |
CreationMode()
TBool
| CreationMode | ( | ) | const [inline] |
CreationModeUserChangeable()
TBool
| CreationModeUserChangeable | ( | ) | const [inline] |
User changeable creation mode
IsConformantMime(const TPtrC8 &)
IMPORT_C TBool | IsConformantMime | ( | const TPtrC8 & | aMimeType | ) | |
Checks whether the MIME type is MMS conformant or not.
Parameters
const TPtrC8 & aMimeType | IN Mime type of the file. |
LargerThanImageSizeSetting(TSize)
TBool
| LargerThanImageSizeSetting | ( | TSize | aImageSize | ) | [private, inline] |
Compares size to MMS Settings "Image size".
Parameters
TSize aImageSize | Size of the image |
MaxSendSize()
TUint32
| MaxSendSize | ( | ) | const [inline] |
Get maximum send size of a multimedia message
MediaConformance(CMsgMediaInfo &)
Resolves conformance status of the given media object.
Parameters
CMsgMediaInfo & aMediaInfo | IN Mime type of the file. |
ResolveAttachment()
void | ResolveAttachment | ( | ) | [private] |
Determines conformance for supported attachment MIME types.
ResolveAudioAmr()
void | ResolveAudioAmr | ( | ) | [private] |
Determines conformance for audio/amr.
ResolveAudioSpMidi()
void | ResolveAudioSpMidi | ( | ) | [private] |
Determines conformance for audio/sp-midi.
ResolveFunction(const TPtrC8 &)
ResolveImageGif()
void | ResolveImageGif | ( | ) | [private] |
Determines conformance for image/gif.
ResolveImageJpeg()
void | ResolveImageJpeg | ( | ) | [private] |
Determines conformance for image/jpeg.
ResolveImagePng()
void | ResolveImagePng | ( | ) | [private] |
Determines conformance for image/png.
ResolveImageWbmp()
void | ResolveImageWbmp | ( | ) | [private] |
Determines conformance for image/wbmp.
ResolveNonconformantAttachment()
void | ResolveNonconformantAttachment | ( | ) | [private] |
Determines conformance for unsupported attachment MIME types.
ResolveTextPlain()
void | ResolveTextPlain | ( | ) | [private] |
Determines conformance for text/plain.
ResolveTextXhtml()
void | ResolveTextXhtml | ( | ) | [private] |
Determines conformance for application/xhtml+xml.
ResolveVideo3gpp()
void | ResolveVideo3gpp | ( | ) | [private] |
Determines conformance for video/3gpp.
ResolveVideo3gpp2()
void | ResolveVideo3gpp2 | ( | ) | [private] |
Determines conformance for video/3gpp2.
SetCreationMode(TBool)
void | SetCreationMode | ( | TBool | aFree | ) | [inline] |
Set MMS creation mode
The default creation mode (in MMS Settings) can be overriden with this function.
Parameters
TBool aFree | ETrue, Set creation mode to "free" EFalse, Set creation mode to "restricted" |
SetImageSizeSetting(TSize)
void | SetImageSizeSetting | ( | TSize | aImageSize | ) | [inline] |
Set image size setting
The default image size setting (in MMS Settings) can be overriden with this function.
NOTICE! There is no guarantee that the message can be sent if the size is defined bigger than the default max send size.
Parameters
TSize aImageSize | Image size in pixels |
SetMaxSendSize(TUint32)
void | SetMaxSendSize | ( | TUint32 | aMaxSize | ) | [inline] |
Set maximum send size for a multimedia message
The default max send size (in MMS Settings) can be overriden with this function.
NOTICE! There is no guarantee that the message can be sent if the size is defined bigger than the default max send size.
Parameters
TUint32 aMaxSize | 0, unlimited other value, max send size in bytes |
Member Enumerations Documentation
Enum TResolverFlags
Enumerators
EDrmFeatureFull = 0x0001 | |
ECreationModeRestricted = 0x0002 | |
ECreationModeUserChangeable = 0x0004 | |
EMms3gpp2Mode = 0x0008 | |
ECheckCharacterSet = 0x0010 | |
Member Data Documentation
TMmsConformance
iConformance
CMsgMediaInfo * iMediaInfo
CMsgMediaInfo * | iMediaInfo | [private] |
TSize
iSettingsImageSize
TSize
| iSettingsImageSize | [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.