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.InvalidArguments
15 array{object,dict} GetMessages()
17 Get an array of message object paths and properties
18 that represents the currently pending messages.
20 This method call should only be used once when an
21 application starts up. Further message additions
22 and removal shall be monitored via MessageAdded and
23 MessageRemoved signals.
25 void SetProperty(string name, variant value)
27 Changes the value of the specified property. Only
28 properties that are listed as readwrite are
29 changeable. On success a PropertyChanged signal
32 Possible Errors: [service].Error.InvalidArguments
33 [service].Error.DoesNotExist
35 object SendMessage(string to, string text)
37 Send the message in text to the number in to. If the
38 message could be queued successfully, this method
39 returns an object path to the created Message object.
41 Signals PropertyChanged(string name, variant value)
43 This signal indicates a changed value of the given
46 ImmediateMessage(string message, dict info)
48 New immediate (class 0) SMS received. Info has Sender,
49 LocalSentTime, and SentTime information. Sender
50 address is given in string format. LocalSentTime and
51 SentTime are given in string form using ISO8601 format.
53 IncomingMessage(string message, dict info)
55 New incoming text SMS received. Info has Sender,
56 LocalSentTime, and SentTime information.
58 MessageAdded(object path, dict properties)
60 This signal is emitted whenever a new Message object
63 MessageRemoved(object path)
65 This signal is emitted whenever a Message object
66 has been removed, e.g. when it reaches a final state.
68 Properties string ServiceCenterAddress
70 Contains the number of the SMS service center.
72 boolean UseDeliveryReports
74 This property controls whether SMS Status Reports,
75 sometimes better known as Delivery Reports are to be
76 used. If enabled, all outgoing SMS messages will be
77 flagged to request a status report from the SMSC.
81 Contains the bearer to use for SMS messages. Possible
83 "cs-only" - Circuit Switched only
84 "ps-only" - Packet Domain only
85 "cs-preferred" - Use PS if CS is unavailable
86 "ps-preferred" - Use CS if PS is unavailable
88 By default oFono uses "cs-preferred" setting.
92 Contains the alphabet setting for outgoing SMSs.
95 "default" - Default GSM alphabet
96 "turkish" - Turkish alphabet
97 "spanish" - Spanish alphabet
98 "portuguese" - Portuguese alphabet
100 The standard, language-specific alphabets are defined
101 in 3GPP TS23.038, Annex A. By default, oFono uses
102 the "default" setting.