Location:
cmmssettings.h
Link against: mmsgenericsettings.lib
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()
, AddProxyL()
, Address()
, AllowDeliveryNotification()
, ApplicationID()
, AutomaticDownload()
, CopyL()
, CreationMode()
, CreationModeReadOnly()
, DeliveryReport()
, DeviceContentClass()
, DisplayNotification()
, DownloadRetryInterval()
, FilterAdvertisements()
, FullScreenPreview()
, GetNapId()
, GetProxy()
, HideNumber()
, MaxDownloadRetries()
, MaxDownloadSize()
, MaxImageHeight()
, MaxImageWidth()
, MaxSendMsgSize()
, NapIdCount()
, NewL()
, NewLC()
, Priority()
, ProxyCount()
, ReadReport()
, RemoveNapId()
, RemoveProxy()
, ReplyWithHistory()
, SetAddressL()
, SetAllowDeliveryNotification()
, SetApplicationID()
, SetAutomaticDownload()
, SetCreationModeL()
, SetCreationModeReadOnly()
, SetDeliveryReport()
, SetDeviceContentClass()
, SetDisplayNotification()
, SetDownloadRetryInterval()
, SetFilterAdvertisements()
, SetFullScreenPreview()
, SetHideNumber()
, SetMaxDownloadRetries()
, SetMaxDownloadSize()
, SetMaxImageHeight()
, SetMaxImageWidth()
, SetMaxSendMsgSize()
, SetPriority()
, SetReadReport()
, SetReplyWithHistory()
, SetValidityPeriod()
, ValidityPeriod()
, ~CMmsSettings()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CMmsSettings *NewL();
Allocates and constructs an MMS settings object.
Initialises all member data to their default values.
|
static IMPORT_C 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.
|
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.
|
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.
|
IMPORT_C void SetAutomaticDownload(TAutomaticDownloadOptions aDownloadOptions);
Sets the automatic download option
|
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
|