summaryrefslogtreecommitdiffstats
path: root/binding/gdbus/api
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2018-09-18 08:31:03 +0200
committerMatt Ranostay <matt.ranostay@konsulko.com>2018-09-27 14:49:44 +0800
commit928d8bc0941a74c1918fb72b06db59613a2afd49 (patch)
tree7472c37a32e59c50f4195257b37b0919717a4ee1 /binding/gdbus/api
parent11a298844a56bd3965f6c63a0ddffe35ea5b06bc (diff)
binding: telephony: add initial binding
Split out binding from phone application Bug-AGL: SPEC-1757 Change-Id: Ie66364e20528ec1b7c67deb20247a843b289b68c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/api')
-rw-r--r--binding/gdbus/api/ofono_manager.xml16
-rw-r--r--binding/gdbus/api/ofono_voice_call.xml25
-rw-r--r--binding/gdbus/api/ofono_voicecallmanager.xml51
3 files changed, 92 insertions, 0 deletions
diff --git a/binding/gdbus/api/ofono_manager.xml b/binding/gdbus/api/ofono_manager.xml
new file mode 100644
index 0000000..0d8d65b
--- /dev/null
+++ b/binding/gdbus/api/ofono_manager.xml
@@ -0,0 +1,16 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="">
+ <interface name="org.ofono.Manager">
+ <method name="GetModems">
+ <arg type="a(oa{sv})" direction="out"/>
+ </method>
+ <signal name="ModemAdded">
+ <arg type="o"/>
+ <arg type="a{sv}"/>
+ </signal>
+ <signal name="ModemRemoved">
+ <arg type="o"/>
+ </signal>
+ </interface>
+</node>
diff --git a/binding/gdbus/api/ofono_voice_call.xml b/binding/gdbus/api/ofono_voice_call.xml
new file mode 100644
index 0000000..6dd7391
--- /dev/null
+++ b/binding/gdbus/api/ofono_voice_call.xml
@@ -0,0 +1,25 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="">
+ <interface name="org.ofono.VoiceCall">
+ <method name="GetProperties">
+ <arg type="a{sv}" direction="out"/>
+ </method>
+ <method name="SetProperty">
+ <arg type="s" direction="in"/>
+ <arg type="v" direction="in"/>
+ </method>
+ <method name="Answer"/>
+ <method name="Hangup"/>
+ <method name="Deflect">
+ <arg type="s" direction="in"/>
+ </method>
+ <signal name="PropertyChanged">
+ <arg type="s"/>
+ <arg type="v"/>
+ </signal>
+ <signal name="DisconnectReason">
+ <arg type="s"/>
+ </signal>
+ </interface>
+</node>
diff --git a/binding/gdbus/api/ofono_voicecallmanager.xml b/binding/gdbus/api/ofono_voicecallmanager.xml
new file mode 100644
index 0000000..2a032f5
--- /dev/null
+++ b/binding/gdbus/api/ofono_voicecallmanager.xml
@@ -0,0 +1,51 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node name="">
+ <interface name="org.ofono.VoiceCallManager">
+ <method name="GetProperties">
+ <arg type="a{sv}" direction="out"/>
+ </method>
+ <method name="Dial">
+ <arg type="s" direction="in"/>
+ <arg type="s" direction="in"/>
+ <arg type="o" direction="out"/>
+ </method>
+ <method name="Transfer"/>
+ <method name="SwapCalls"/>
+ <method name="ReleaseAndAnswer"/>
+ <method name="HoldAndAnswer"/>
+ <method name="HangupAll"/>
+ <method name="PrivateChat">
+ <arg type="o" direction="in"/>
+ <arg type="ao" direction="out"/>
+ </method>
+ <method name="CreateMultiparty">
+ <arg type="ao" direction="out"/>
+ </method>
+ <method name="HangupMultiparty"/>
+ <method name="SendTones">
+ <arg type="s" direction="in"/>
+ </method>
+ <method name="GetCalls">
+ <arg type="a(oa{sv})" direction="out"/>
+ </method>
+ <signal name="PropertyChanged">
+ <arg type="s"/>
+ <arg type="v"/>
+ </signal>
+ <signal name="CallAdded">
+ <arg type="o"/>
+ <arg type="a{sv}"/>
+ </signal>
+ <signal name="CallRemoved">
+ <arg type="o"/>
+ </signal>
+ <signal name="BarringActive">
+ <arg type="s"/>
+ </signal>
+ <signal name="Forwarded">
+ <arg type="s"/>
+ </signal>
+ </interface>
+
+</node>