1 CDMA Message Manager hierarchy [experimental]
2 ==============================
5 Interface org.ofono.cdma.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(dict message_info)
37 The dictionary can contain the following keys:
39 string "To" - Address of the receiver
41 string "Text" - The text to send
43 string "Priority" - The value can be one of:
49 TODO: Figure out where this is really needed
51 string "Privacy" - The value can be one of:
57 TODO: Figure out where this is really needed
59 If the message could be queued successfully, this
60 method returns an object path to the created Message
63 Signals PropertyChanged(string name, variant value)
65 This signal indicates a changed value of the given
68 ImmediateMessage(string message, dict info)
70 New immediate SMS received. Info has Sender,
71 LocalSentTime, SentTime, Priority, Privacy and
72 CallbackNumber information. Sender address is given
73 in string format. LocalSentTime and SentTime are
74 given in string form using ISO8601 format.
76 IncomingMessage(string message, dict info)
78 New incoming text SMS received. Info has Sender,
79 LocalSentTime, SentTime, Priority, Privacy, and
82 MessageAdded(object path, dict properties)
84 This signal is emitted whenever a new Message object
87 MessageRemoved(object path)
89 This signal is emitted whenever a Message object
90 has been removed, e.g. when it reaches a final state.
92 Properties boolean UseDeliveryAcknowledgement
94 Request to be notified when the SMSC has delivered
95 the message to the receiving user. In effect this
96 is the same as the GSM Status Report.
98 boolean UseUserAcknowledgement
100 Request to be notified when the receiving user has
101 acknowledged the message.
103 boolean UseReadAcknowledgement
105 Request to be notified when the receiving User has
108 string CallbackNumber
110 The call back number for the user. If the number is
111 empty, then the optional field is not included