diff options
author | Riccardo Vangelisti <riccardo.vangelisti@sadel.it> | 2015-04-27 11:37:18 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-08-02 10:39:12 +0200 |
commit | 0feb4acef4d47bc3c22bb1b8f121e5959fb55901 (patch) | |
tree | b763d40cf790322196f17d4d4b1578c1182e6e4e /introspection/org.freedesktop.ModemManager1.Modem.Voice.xml | |
parent | 0337781ba746fb869198cff9705e521a2722b26d (diff) |
api: added Modem.Voice and Call interfaces for voice call handling
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Modem.Voice.xml')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Voice.xml | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml b/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml new file mode 100644 index 00000000..82b3b09e --- /dev/null +++ b/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- + ModemManager 1.0 Interface Specification + + Copyright (C) 2015 Marco Bascetta <marco.bascetta@sadel.it> + Copyright (C) 2015 Riccardo Vangelisti <riccardo.vangelisti@sadel.it> +--> + +<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + + <!-- + org.freedesktop.ModemManager1.Modem.Voice: + @short_description: The ModemManager Voice interface. + + The Voice interface handles Calls. + --> + <interface name="org.freedesktop.ModemManager1.Modem.Voice"> + + <!-- + ListCalls: + @result: The list of call object paths. + + Retrieve all Calls. + + This method should only be used once and subsequent information + retrieved either by listening for the + #org.freedesktop.ModemManager1.Modem.Voice::Added signal, + or by querying the specific Call object of interest. + --> + <method name="ListCalls"> + <arg name="result" type="ao" direction="out" /> + </method> + + <!-- + DeleteCall: + @path: The object path of the Call to delete. + + Delete a Call from lists of calls. + If it is still active, Call.Hangup method is performed + --> + <method name="DeleteCall"> + <arg name="path" type="o" direction="in" /> + </method> + + <!-- + CreateCall: + @properties: Call properties from the <link linkend="gdbus-org.freedesktop.ModemManager1.Call">Call D-Bus interface</link>. + @path: The object path of the new call object. + + Creates a new call object. + + The '<link linkend="gdbus-property-org-freedesktop-ModemManager1-Call.Number">Number</link>' is mandatory + --> + <method name="CreateCall"> + <arg name="properties" type="a{sv}" direction="in" /> + <arg name="path" type="o" direction="out" /> + </method> + + <!-- + CallAdded: + @path: Object path of the new call. + + Emitted when any part of a Call has been received or added. + --> + <signal name="CallAdded"> + <arg name="path" type="o" /> + </signal> + + <!-- + CallDeleted: + @path: Object path of the now deleted Call. + + Emitted when a call has been deleted. + --> + <signal name="CallDeleted"> + <arg name="path" type="o" /> + </signal> + + <!-- + Calls: + + The list of calls object paths. + --> + <property name="Calls" type="ao" access="read" /> + + </interface> +</node> |