Bump version to keep in sync with libfso-glib
[specs.git] / xml / org.freesmartphone.GSM.Device.xml
blobbbf08052201fbf22bac51d61de105a89de442060
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
3 <node name="/">
4   <interface name="org.freesmartphone.GSM.Device">
5     <method name="GetFunctionality">
6       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
7       <arg type="s" name="level" direction="out"/>
8       <arg type="b" name="autoregister" direction="out"/>
9       <arg type="s" name="pin" direction="out"/>
10       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
11       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
12     </method>
13     <method name="SetFunctionality">
14       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
15       <arg type="s" name="level" direction="in"/>
16       <arg type="b" name="autoregister" direction="in"/>
17       <arg type="s" name="pin" direction="in"/>
18       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
19       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
20     </method>
21     <method name="GetFeatures">
22       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
23       <arg type="a{sv}" name="features" direction="out"/>
24       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
25       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
26     </method>
27     <method name="GetDeviceStatus">
28       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
29       <arg xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="s" name="status" direction="out" fso:type="org.freesmartphone.GSM.DeviceStatus"/>
30       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
31       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
32     </method>
33     <signal name="DeviceStatus">
34       <arg xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="s" name="status" fso:type="org.freesmartphone.GSM.DeviceStatus"/>
35     </signal>
36     <method name="GetSpeakerVolume">
37       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
38       <arg type="i" name="volume" direction="out"/>
39       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
40       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
41     </method>
42     <method name="SetSpeakerVolume">
43       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
44       <arg type="i" name="volume" direction="in"/>
45       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
46       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
47     </method>
48     <method name="GetMicrophoneMuted">
49       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
50       <arg type="b" name="muted" direction="out"/>
51       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
52       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
53     </method>
54     <method name="SetMicrophoneMuted">
55       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
56       <arg type="b" name="muted" direction="in"/>
57       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone.GSM"/>
58       <fso:throws xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="org.freesmartphone"/>
59     </method>
60     <signal name="KeypadEvent">
61       <arg type="s" name="name"/>
62       <arg type="b" name="pressed"/>
63     </signal>
64   </interface>
65   <fso:enumeration xmlns:fso="http://www.freesmartphone.org/schemas/DBusSpecExtension" type="s" name="org.freesmartphone.GSM.DeviceStatus">
66     <fso:member name="UNKNOWN" value="unknown"/>
67     <fso:member name="CLOSED" value="closed"/>
68     <fso:member name="INITIALIZING" value="initializing"/>
69     <fso:member name="ALIVE_NO_SIM" value="alive-no-sim"/>
70     <fso:member name="ALIVE_SIM_LOCKED" value="alive-sim-locked"/>
71     <fso:member name="ALIVE_SIM_UNLOCKED" value="alive-sim-unlocked"/>
72     <fso:member name="ALIVE_SIM_READY" value="alive-sim-ready"/>
73     <fso:member name="ALIVE_REGISTERED" value="alive-registered"/>
74     <fso:member name="SUSPENDING" value="suspending"/>
75     <fso:member name="SUSPENDED" value="suspended"/>
76     <fso:member name="RESUMING" value="resuming"/>
77     <fso:member name="CLOSING" value="closing"/>
78   </fso:enumeration>
79 </node>