1 Message Manager hierarchy
5 Interface org.ofono.MessageManager
6 Object path [variable prefix]/{modem0,modem1,...}
8 Methods dict GetProperties()
10 Returns properties for the manager object. See
11 the properties section for available properties.
13 Possible Errors: [service].Error.InProgress
14 [service].Error.NotImplemented
16 array{object,dict} GetMessages()
18 Get an array of message object paths and properties
19 that represents the currently pending messages.
21 This method call should only be used once when an
22 application starts up. Further message additions
23 and removal shall be monitored via MessageAdded and
24 MessageRemoved signals.
26 void SetProperty(string name, variant value)
28 Changes the value of the specified property. Only
29 properties that are listed as readwrite are
30 changeable. On success a PropertyChanged signal
33 Possible Errors: [service].Error.InProgress
34 [service].Error.NotImplemented
35 [service].Error.InvalidArguments
36 [service].Error.InvalidFormat
37 [service].Error.Failed
39 object SendMessage(string to, string text)
41 Send the message in text to the number in to. If the
42 message could be queued successfully, this method
43 returns an object path to the created Message object.
45 Possible Errors: [service].Error.InvalidArguments
46 [service].Error.InvalidFormat
47 [service].Error.Failed
49 Signals PropertyChanged(string name, variant value)
51 This signal indicates a changed value of the given
54 ImmediateMessage(string message, dict info)
56 New immediate (class 0) SMS received. Info has Sender,
57 LocalSentTime, and SentTime information. Sender
58 address is given in string format. LocalSentTime and
59 SentTime are given in string form using ISO8601 format.
61 IncomingMessage(string message, dict info)
63 New incoming text SMS received. Info has Sender,
64 LocalSentTime, and SentTime information.
66 MessageAdded(object path, dict properties)
68 This signal is emitted whenever a new Message object
71 MessageRemoved(object path)
73 This signal is emitted whenever a Message object
74 has been removed, e.g. when it reaches a final state.
76 Properties string ServiceCenterAddress
78 Contains the number of the SMS service center.
80 boolean UseDeliveryReports
82 This property controls whether SMS Status Reports,
83 sometimes better known as Delivery Reports are to be
84 used. If enabled, all outgoing SMS messages will be
85 flagged to request a status report from the SMSC.
89 Contains the bearer to use for SMS messages. Possible
91 "cs-only" - Circuit Switched only
92 "ps-only" - Packet Domain only
93 "cs-preferred" - Use PS if CS is unavailable
94 "ps-preferred" - Use CS if PS is unavailable
96 By default oFono uses "cs-preferred" setting.
100 Contains the alphabet setting for outgoing SMSs.
103 "default" - Default GSM alphabet
104 "turkish" - Turkish alphabet
105 "spanish" - Spanish alphabet
106 "portuguese" - Portuguese alphabet
108 The standard, language-specific alphabets are defined
109 in 3GPP TS23.038, Annex A. By default, oFono uses
110 the "default" setting.