|
||
class CMmsSettings : public CBase;
Run-time MMS configuration settings.
Messaging clients should use an instance of this class to specify and retrieve configuration settings.
This class should be used with CMmsAccounts
to store and restore settings.
CBase
-
Base class for all classes to be instantiated on the heap.
CMmsSettings
- Run-time MMS configuration settings.
Defined in CMmsSettings
:
AddNapIdL(const TUid)
Appends a Nap Id to the list.AddProxyL(const TUid)
Appends a Proxy to the list.Address()const
Returns the absolute MMS Proxy-Relay URLAllowDeliveryNotification()const
Returns the Allow Delivery Notification valueApplicationID()const
Returns the Application Id.AutomaticDownload()const
Returns whether the message should be downloaded automatically.CopyL(const CMmsSettings &)
Copies the MMS settings stored in the specified object into this object.CreationMode()const
Returns the Creation Mode. Creation Mode specifies how an MMS client should allo...CreationModeReadOnly()const
Returns whether the user allowed to modify the creation mode or not.DeliveryReport()const
Returns whether the Delivery Reports should be sent back to the network when the...DeviceContentClass()const
Returns the content class of the deviceDisplayNotification()const
Returns whether the Notification Receipt should be displayed immediately to the ...DownloadRetryInterval()const
Returns the download retry intervalFilterAdvertisements()const
Returns whether to filter advertisment MMS messages when downloading automatical...FullScreenPreview()const
Returns whether to display MMS messages in full screen.GetNapId(TInt)const
Gets the Nap Id at the specified index.GetProxy(TInt)const
Gets the Proxy at the specified index.HideNumber()const
Returns whether the user's number should be hidden when sending an MMS.MaxDownloadRetries()const
Returns the maximum download retries of an MMS messageMaxDownloadSize()const
Returns the maximum size of the MMS message that can be downloaded automatically...MaxImageHeight()const
Returns the maximum image height to be used when sending an MMS messageMaxImageWidth()const
Returns the maximum image width to be used when sending an MMS messageMaxSendMsgSize()const
Returns the maximum MMS message size that can be sentNapIdCount()const
Gets the number of Nap Ids stored in this object.NewL()
Allocates and constructs an MMS settings object.NewLC()
Allocates and constructs an MMS settings object.Priority()const
Returns the Priority value of the MMS message.ProxyCount()const
Gets the number of Proxies stored in this object.ReadReport()const
Returns whether the Read Reports should be sent back to the network when the use...RemoveNapId(TInt)
Removes a Nap Id from the list.RemoveProxy(TInt)
Removes a Proxy from the list.ReplyWithHistory()const
Returns whether the original MMS should be included when replying to an MMSSetAddressL(const TDesC &)
Sets the absolute MMS Proxy-Relay URLSetAllowDeliveryNotification(TBool)
Sets the Allow Delivery Notification valueSetApplicationID(const TInt)
Sets the Application Id.SetAutomaticDownload(TAutomaticDownloadOptions)
Sets the automatic download optionSetCreationModeL(TCreationMode)
Sets the Creation Mode. Creation Mode specifies how an MMS client should allow i...SetCreationModeReadOnly(TBool)
Specifies whether the user allowed to modify the creation mode or not.SetDeliveryReport(TBool)
Specifies whether the Delivery Reports should be sent back to the network when t...SetDeviceContentClass(const TInt)
Sets the content class of the deviceSetDisplayNotification(TBool)
Specifies whether the Notification Receipt should be displayed immediately to th...SetDownloadRetryInterval(const TInt)
Sets the download retry intervalSetFilterAdvertisements(TBool)
Specifies whether to filter advertisment MMS messages when downloading automatic...SetFullScreenPreview(TBool)
Specifies whether to display MMS messages using full screen.SetHideNumber(TBool)
Specifies whether the user's number should be hidden when sending an MMS.SetMaxDownloadRetries(const TInt)
Sets the maximum download retries of an MMS messageSetMaxDownloadSize(const TInt)
Sets the maximum size of the MMS message that can be downloaded automatically.SetMaxImageHeight(const TInt)
Sets the maximum image height to be used when sending an MMS messageSetMaxImageWidth(const TInt)
Sets the maximum image width to be used when sending an MMS messageSetMaxSendMsgSize(const TInt)
Sets the maximum MMS message size that can be sentSetPriority(TBool)
Sets the Priority value of the MMS message.SetReadReport(TBool)
Specifies whether the Read Reports should be sent back to the network when the u...SetReplyWithHistory(TBool)
Specifies whether the original MMS should be included when replying to an MMSSetValidityPeriod(const TInt)
Sets the Validity Period of the MMS message.ValidityPeriod()const
Returns the Validity Period of the MMS message.~CMmsSettings()
Destructor. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...CMmsAccounts
Stores MMS settings.IMPORT_C static CMmsSettings* NewL();
Allocates and constructs an MMS settings object.
Initialises all member data to their default values.
|
IMPORT_C static CMmsSettings* NewLC();
Allocates and constructs an MMS settings object.
Initialises all member data to their default values.
|
IMPORT_C void CopyL(const CMmsSettings &aMmsSettings);
Copies the MMS settings stored in the specified object into this object.
|
IMPORT_C TInt ApplicationID() const;
Returns the Application Id.
|
IMPORT_C void SetApplicationID(const TInt aAppID);
Sets the Application Id.
|
IMPORT_C TPtrC Address() const;
Returns the absolute MMS Proxy-Relay URL
|
IMPORT_C void SetAddressL(const TDesC &aAddress);
Sets the absolute MMS Proxy-Relay URL
|
IMPORT_C TCreationMode CreationMode() const;
Returns the Creation Mode. Creation Mode specifies how an MMS client should allow insertion of media items in an MMS.
|
TCreationMode
Creation Mode Options.IMPORT_C void SetCreationModeL(TCreationMode aCreationMode);
Sets the Creation Mode. Creation Mode specifies how an MMS client should allow insertion of media items in an MMS.
|
TCreationMode
Creation Mode Options.IMPORT_C TInt ProxyCount() const;
Gets the number of Proxies stored in this object.
|
IMPORT_C TUid GetProxy(TInt aIndex) const;
Gets the Proxy at the specified index.
|
|
IMPORT_C void AddProxyL(const TUid aProxy);
Appends a Proxy to the list.
|
IMPORT_C void RemoveProxy(TInt aIndex);
Removes a Proxy from the list.
|
IMPORT_C TInt NapIdCount() const;
Gets the number of Nap Ids stored in this object.
|
IMPORT_C TUid GetNapId(TInt aIndex) const;
Gets the Nap Id at the specified index.
|
|
IMPORT_C void AddNapIdL(const TUid aNapId);
Appends a Nap Id to the list.
|
IMPORT_C void RemoveNapId(TInt aIndex);
Removes a Nap Id from the list.
|
IMPORT_C TBool DisplayNotification() const;
Returns whether the Notification Receipt should be displayed immediately to the user.
|
IMPORT_C void SetDisplayNotification(TBool aFlag);
Specifies whether the Notification Receipt should be displayed immediately to the user.
|
IMPORT_C TAutomaticDownloadOptions AutomaticDownload() const;
Returns whether the message should be downloaded automatically.
|
TAutomaticDownloadOptions
Automatic Download Options.IMPORT_C void SetAutomaticDownload(TAutomaticDownloadOptions aDownloadOptions);
Sets the automatic download option
|
TAutomaticDownloadOptions
Automatic Download Options.IMPORT_C TBool CreationModeReadOnly() const;
Returns whether the user allowed to modify the creation mode or not.
|
IMPORT_C void SetCreationModeReadOnly(TBool aFlag);
Specifies whether the user allowed to modify the creation mode or not.
|
IMPORT_C TInt ValidityPeriod() const;
Returns the Validity Period of the MMS message.
|
IMPORT_C void SetValidityPeriod(const TInt aValidityPeriod);
Sets the Validity Period of the MMS message.
|
IMPORT_C TInt MaxDownloadSize() const;
Returns the maximum size of the MMS message that can be downloaded automatically.
|
IMPORT_C void SetMaxDownloadSize(const TInt aSize);
Sets the maximum size of the MMS message that can be downloaded automatically.
|
IMPORT_C TBool Priority() const;
Returns the Priority value of the MMS message.
|
IMPORT_C void SetPriority(TBool aFlag);
Sets the Priority value of the MMS message.
|
IMPORT_C TBool HideNumber() const;
Returns whether the user's number should be hidden when sending an MMS.
|
IMPORT_C void SetHideNumber(TBool aFlag);
Specifies whether the user's number should be hidden when sending an MMS.
|
IMPORT_C TBool ReadReport() const;
Returns whether the Read Reports should be sent back to the network when the user receives an MMS.
|
IMPORT_C void SetReadReport(TBool aFlag);
Specifies whether the Read Reports should be sent back to the network when the user receives an MMS.
|
IMPORT_C TBool DeliveryReport() const;
Returns whether the Delivery Reports should be sent back to the network when the user receives an MMS.
|
IMPORT_C void SetDeliveryReport(TBool aFlag);
Specifies whether the Delivery Reports should be sent back to the network when the user receives an MMS.
|
IMPORT_C TBool ReplyWithHistory() const;
Returns whether the original MMS should be included when replying to an MMS
|
IMPORT_C void SetReplyWithHistory(TBool aFlag);
Specifies whether the original MMS should be included when replying to an MMS
|
IMPORT_C TBool AllowDeliveryNotification() const;
Returns the Allow Delivery Notification value
|
IMPORT_C void SetAllowDeliveryNotification(TBool aFlag);
Sets the Allow Delivery Notification value
|
IMPORT_C TBool FilterAdvertisements() const;
Returns whether to filter advertisment MMS messages when downloading automatically.
|
IMPORT_C void SetFilterAdvertisements(TBool aFlag);
Specifies whether to filter advertisment MMS messages when downloading automatically.
|
IMPORT_C TInt MaxDownloadRetries() const;
Returns the maximum download retries of an MMS message
|
IMPORT_C void SetMaxDownloadRetries(const TInt aRetries);
Sets the maximum download retries of an MMS message
|
IMPORT_C TInt DownloadRetryInterval() const;
Returns the download retry interval
|
IMPORT_C void SetDownloadRetryInterval(const TInt aInterval);
Sets the download retry interval
|
IMPORT_C TInt MaxSendMsgSize() const;
Returns the maximum MMS message size that can be sent
|
IMPORT_C void SetMaxSendMsgSize(const TInt aSize);
Sets the maximum MMS message size that can be sent
|
IMPORT_C TBool FullScreenPreview() const;
Returns whether to display MMS messages in full screen.
|
IMPORT_C void SetFullScreenPreview(TBool aFlag);
Specifies whether to display MMS messages using full screen.
|
IMPORT_C TInt DeviceContentClass() const;
Returns the content class of the device
|
IMPORT_C void SetDeviceContentClass(const TInt aClass);
Sets the content class of the device
|
IMPORT_C TInt MaxImageHeight() const;
Returns the maximum image height to be used when sending an MMS message
|
IMPORT_C void SetMaxImageHeight(const TInt aHeight);
Sets the maximum image height to be used when sending an MMS message
|
IMPORT_C TInt MaxImageWidth() const;
Returns the maximum image width to be used when sending an MMS message
|
IMPORT_C void SetMaxImageWidth(const TInt aWidth);
Sets the maximum image width to be used when sending an MMS message
|