~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to solid/modemmanager-0.4/dbus/introspection/mm-modem-gsm-sms.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
 
 
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
4
  <interface name="org.freedesktop.ModemManager.Modem.Gsm.SMS">
 
5
    <method name="Delete">
 
6
      <tp:docstring>
 
7
        Delete an SMS message.
 
8
      </tp:docstring>
 
9
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
10
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_delete"/>
 
11
      <arg name="index" type="u" direction="in">
 
12
        <tp:docstring>
 
13
          The index of the SMS.
 
14
        </tp:docstring>
 
15
      </arg>
 
16
    </method>
 
17
 
 
18
    <method name="Get">
 
19
      <tp:docstring>
 
20
        Retrieve an SMS from the SIM card.
 
21
      </tp:docstring>
 
22
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
23
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get"/>
 
24
      <arg name="index" type="u" direction="in">
 
25
        <tp:docstring>
 
26
          The index of the SMS.
 
27
        </tp:docstring>
 
28
      </arg>
 
29
      <arg name="sms" type="a{sv}" tp:type="String_Variant_Map" direction="out">
 
30
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
 
31
        <tp:docstring>
 
32
          A dictionary containing SMS properties of the SMS specified by the given index.  This dictionary may contain the following key/value pairs:
 
33
 
 
34
          number   : string - Phone number (mandatory)
 
35
          text     : string - SMS text (mandatory)
 
36
          smsc     : string - SMS service center number (optional)
 
37
          validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
 
38
          class    : uint (0..3) - Message importance and location (optional)
 
39
          completed: boolean - Whether all message parts have been received or not (optional)
 
40
        </tp:docstring>
 
41
      </arg>
 
42
    </method>
 
43
 
 
44
    <method name="GetFormat">
 
45
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
46
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_format"/>
 
47
      <arg name="result" type="u" direction="out"/>
 
48
    </method>
 
49
 
 
50
    <method name="SetFormat">
 
51
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
52
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_format"/>
 
53
      <arg name="format" type="u" direction="in"/>
 
54
    </method>
 
55
 
 
56
    <method name="GetSmsc">
 
57
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
58
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_smsc"/>
 
59
      <arg name="result" type="s" direction="out"/>
 
60
    </method>
 
61
 
 
62
    <method name="SetSmsc">
 
63
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
64
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_smsc"/>
 
65
      <arg name="smsc" type="s" direction="in"/>
 
66
    </method>
 
67
 
 
68
    <method name="List">
 
69
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
70
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_list"/>
 
71
      <arg name="result" type="aa{sv}" direction="out">
 
72
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMapList"/>
 
73
      </arg>
 
74
    </method>
 
75
 
 
76
    <method name="Save">
 
77
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
78
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_save"/>
 
79
      <arg name="properties" type="a{sv}" tp:type="String_Variant_Map" direction="in">
 
80
        <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
 
81
        <tp:docstring>
 
82
          SMS properties to save with the following key values:
 
83
 
 
84
          number   : string - Phone number (mandatory)
 
85
          text     : string - SMS text (mandatory)
 
86
          smsc     : string - SMS service center number (optional)
 
87
          validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
 
88
          class    : uint (0..3) - Message importance and location (optional)
 
89
        </tp:docstring>
 
90
      </arg>
 
91
      <arg name="index" type="au" direction="out"/>
 
92
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="uint"/>
 
93
    </method>
 
94
 
 
95
    <method name="Send">
 
96
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
97
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send"/>
 
98
      <arg name="properties" type="a{sv}" tp:type="String_Variant_Map" direction="in">
 
99
        <annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
 
100
        <tp:docstring>
 
101
          SMS properties to save with the following key values:
 
102
 
 
103
          number   : string - Phone number (mandatory)
 
104
          text     : string - SMS text (mandatory)
 
105
          smsc     : string - SMS service center number (optional)
 
106
          validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
 
107
          class    : uint (0..3) - Message importance and location (optional)
 
108
        </tp:docstring>
 
109
      </arg>
 
110
      <arg name="result" type="au" direction="out"/>
 
111
        <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="uint"/>
 
112
    </method>
 
113
 
 
114
    <method name="SendFromStorage">
 
115
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
116
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send_from_storage"/>
 
117
      <arg name="index" type="u" direction="in"/>
 
118
    </method>
 
119
 
 
120
    <method name="SetIndication">
 
121
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
122
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_indication"/>
 
123
      <arg name="mode" type="u" direction="in"/>
 
124
      <arg name="mt" type="u" direction="in"/>
 
125
      <arg name="bm" type="u" direction="in"/>
 
126
      <arg name="ds" type="u" direction="in"/>
 
127
      <arg name="bfr" type="u" direction="in"/>
 
128
    </method>
 
129
 
 
130
    <signal name="SmsReceived">
 
131
      <tp:docstring>
 
132
        Emitted when any part of a new SMS has been received (but not for subsequent parts, if any).  Not all parts may have been received and the message may not be complete; if it is, the 'complete' argument will be TRUE.
 
133
      </tp:docstring>
 
134
      <arg name="index" type="u">
 
135
        <tp:docstring>
 
136
          Index of the new SMS.
 
137
        </tp:docstring>
 
138
      </arg>
 
139
      <arg name="complete" type="b">
 
140
        <tp:docstring>
 
141
          TRUE if all message parts have been received, otherwise FALSE.
 
142
        </tp:docstring>
 
143
      </arg>
 
144
    </signal>
 
145
 
 
146
    <signal name="Completed">
 
147
      <tp:docstring>
 
148
        Emitted when the complete-ness status of an SMS message changes.  An SMS may not necessarily be complete when the first part is received; this signal will be emitted when all parts have been received, even for single-part messages.
 
149
      </tp:docstring>
 
150
      <arg name="index" type="u">
 
151
        <tp:docstring>
 
152
          The index of the SMS.
 
153
        </tp:docstring>
 
154
      </arg>
 
155
      <arg name="completed" type="b">
 
156
        <tp:docstring>
 
157
          TRUE if all message parts have been received, otherwise FALSE.
 
158
        </tp:docstring>
 
159
      </arg>
 
160
    </signal>
 
161
 
 
162
  </interface>
 
163
</node>