1 Smart Messaging hierarchy
5 Interface org.ofono.SmartMessaging
6 Object path [variable prefix]/{modem0,modem1,...}
8 Methods object SendAppointment(string to, array{bytes} appointment)
10 Sends a vCalendar object in appointment to the number
11 in to. The object in appointment is not interpreted
12 by oFono in any way. If the object is too large to
13 fit into a single SMS, it is fragmented as appropriate.
14 This method call returns the object path of the queued
17 object SendBusinessCard(string to, array{bytes} card)
19 Sends a vCard object in card to the number in to. The
20 object in card is not interpreted by oFono in any way.
21 If the object is too large to fit into a single SMS,
22 it is fragmented as appropriate. This method call
23 returns the object path of the queued SMS.
25 void RegisterAgent(object path)
27 Registers an agent which will be called whenever a
28 new Smart Messaging based SMS arrives.
30 void UnregisterAgent(object path)
34 SmartMessagingAgent Hierarchy [experimental]
38 Interface org.ofono.SmartMessagingAgent
39 Object path freely definable
41 Methods void ReceiveAppointment(array{byte} appointment, dict info)
43 Requests the agent to process a new SMS that has
44 arrived containing a vCalendar object. The info
45 dictionary contains 'Sender', 'LocalSentTime' and
46 'SentTime' properties.
50 void ReceiveBusinessCard(array{byte} card, dict info)
52 Requests the agent to process a new SMS that has
53 arrived containing a vCard object. The info
54 dictionary contains 'Sender', 'LocalSentTime' and
55 'SentTime' properties.
59 void Release() [noreply]
61 Agent is being released, possibly because of oFono
62 terminating, SMS interface is being torn down or modem
63 off. No UnregisterAgent call is needed.