#include <app/smutset.h>
class CSmsSettings : public CSmsMessageSettings |
Public Member Enumerations | |
---|---|
enum | TMobileSmsBearer { ESmsBearerPacketOnly, ESmsBearerCircuitOnly, ESmsBearerPacketPreferred, ESmsBearerCircuitPreferred } |
enum | TSmsReportHandling { EMoveReportToInboxInvisible, EMoveReportToInboxVisible, EDiscardReport, EDoNotWatchForReport, ..., EDiscardReportAndMatch } |
enum | TSmsSettingsCommDbAction { ENone, EStoreToCommDb } |
The SMS Service settings.
An SMS service entry stores an object of this type in its message store. These settings define the default settings for mobile originated messages (SMS-SUBMIT type messages). They also provide some global settings that are applied to all messages, both outward going and received messages.
The SMS service also uses this class to store the set of avilable Servive Centre numbers. The default Service Centre is defined from this set.
Defines the SMS bearer. Modes: GSM
Defines the ways in which status reports that are received by the watcher may be handled.
This can be applied to both SMS-STATUS-REPORT type messages and Special Messages (e.g. Voice Mail Indication messages).
Sets whether the service settings should be used to update the communications database.
If the update is specified, it is done when the Service settings are stored into the message store.
TMsvId | Class2Folder | ( | ) | const [inline] |
Gets the folder ID into which received class 2 SMS-DELIVER messages are stored.
Returns: The class 2 folder ID.
TSmsSettingsCommDbAction | CommDbAction | ( | ) | const [inline] |
Gets the communications database action.
For details, see CSmsSettings::SetCommDbAction().
See also: CSmsSettings::TSmsSettingsCommDbAction CSmsSettings::SetCommDbAction
Returns: The communications database action.
TSmsDelivery | Delivery | ( | ) | const [inline] |
Gets the default schedule delivery type of a new message created using the SMS client MTM.
Returns: The schedule delivery type.
TInt | DescriptionLength | ( | ) | const [inline] |
Gets the maximum length of the message entry description.
See also: KSmsDescriptionLength
Returns: The maximum length of the message entry description.
TBool | DiscardUnknownPortMessage | ( | ) | const [inline] |
Gets the boolean flag that indicates whether to discard unknown port message.
A value of ETrue indicates to discard unknown port message.
Returns: The value of the discard message flag.
TBool | ReplyQuoted | ( | ) | const [inline] |
Gets whether the editor should quote the received message at the beginning of the reply message.
Returns: A value of ETrue if the editor should quote the received message at the beginning of the reply. EFalse if not.
void | SetClass2Folder | ( | TMsvId | aId | ) | [inline] |
Sets the folder ID into which received class 2 SMS-DELIVER messages are stored.
Parameter | Description |
---|---|
aId | The folder ID for received class 2 messages. |
void | SetCommDbAction | ( | TSmsSettingsCommDbAction | aCommDbAction | ) | [inline] |
Sets whether the Service settings should be used to update the communications database.
If set, this uses the service settings to update the comms db MODEM table's MODEM_MESSAGE_CENTRE_NUMBER, MODEM_MESSAGE_VALIDITY_PERIOD and MODEM_MESSAGE_DELIVERY_REPORT fields. The update is done when the Service settings are stored into the message store using CSmsSettings::StoreL().
The default setting is for the comms db not to be updated - TSmsSettingsCommDbAction::ENone.
See also: CSmsSettings::TSmsSettingsCommDbAction CSmsSettings::StoreL
Parameter | Description |
---|---|
aCommDbAction | The communications database action. |
void | SetDelivery | ( | TSmsDelivery | ) | [inline] |
Sets the default schedule delivery type of a new message created using the SMS client MTM.
Parameter | Description |
---|---|
The schedule delivery type. |
void | SetDescriptionLength | ( | TInt | aLength | ) | [inline] |
Sets the maximum length of the message entry description.
The default value is given by KSmsDescriptionLength.
See also: KSmsDescriptionLength
Parameter | Description |
---|---|
aLength | The maximum length. |
void | SetDiscardUnknownPortMessage | ( | TBool | aDeleteMessage | ) | [inline] |
Sets the boolean flag that indicates whether to discard unknown port message.
A value of ETrue indicates that discard unknown port message, it will be done without indicating the user.
void | SetReplyQuoted | ( | TBool | ) | [inline] |
Sets whether the editor should quote the received message at the beginning of the reply message.
void | SetSmsBearer | ( | TMobileSmsBearer | aSmsBearer | ) | [inline] |
Sets the SMS bearer.
Parameter | Description |
---|---|
aSmsBearer | The SMS bearer. |
void | SetSmsBearerAction | ( | TSmsSettingsCommDbAction | aSmsBearerAction | ) | [inline] |
Sets whether the Service's SMS bearer setting should be used to update the communications database.
If set, this uses the service setting to update the comm db global table's SMS_BEARER field. The update is done when the Service settings are stored into the message store using CSmsSettings::StoreL().
The default setting is for the comms db not to be updated - TSmsSettingsCommDbAction::ENone.
See also: CSmsSettings::TSmsSettingsCommDbAction CSmsSettings::StoreL
Parameter | Description |
---|---|
aSmsBearerAction | The SMS bearer action. |
void | SetSpecialMessageHandling | ( | TSmsReportHandling | aSpecialMessageHandling | ) | [inline] |
Sets the way in which special messages that are received by the watcher are handled.
See also: CSmsSettings::TSmsReportHandling
Parameter | Description |
---|---|
aSpecialMessageHandling | The special messages handling data. |
void | SetStatusReportHandling | ( | TSmsReportHandling | aStatusReportHandling | ) | [inline] |
Sets the way in which status reports that are received by the watcher are handled.
See also: CSmsSettings::TSmsReportHandling
Parameter | Description |
---|---|
aStatusReportHandling | The SMS status report handling data. |
TSmsSettingsCommDbAction | SmsBearerAction | ( | ) | const [inline] |
Gets the SMS bearer action.
For details, see CSmsSettings::SetCommDbAction().
See also: CSmsSettings::TSmsSettingsCommDbAction CSmsSettings::SetSmsBearerAction
Returns: The SMS bearer action.
TSmsReportHandling | SpecialMessageHandling | ( | ) | const [inline] |
Gets the way in which special messages that are received by the watcher are handled.
By default, this is EDoNotWatchForReport. This value is not supported and therefore the value must be changed from the default.
See also: CSmsSettings::TSmsReportHandling
Returns: How special messages are handled.
TSmsReportHandling | StatusReportHandling | ( | ) | const [inline] |
Gets the way in which status reports that are received by the watcher are handled.
By default, this is EDoNotWatchForReport. This value is not supported and therefore the value must be changed from the default.
See also: CSmsSettings::TSmsReportHandling
Returns: How SMS status reports are handled.