diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-27 12:02:36 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-07-11 23:20:59 +0200 |
commit | d56d1b265625ba94c1308f6c0aa43201bab83db3 (patch) | |
tree | 6b888264418884202f083b2255fb9ca30b1f2847 /introspection | |
parent | f994982cce641cb770d28c7172ecf09a8a25b124 (diff) |
api,voice: new HangupAndAccept() method
This method will hangup the currently active call and right away
accept the next available call.
The user of the API does not need to specify explicitly which is the
next call to accept, because that is decided automatically:
* If there is any waiting call, it will accept it right away.
* If there is no waiting call but there is a held call, it will make
the held call active again.
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.ModemManager1.Modem.Voice.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml b/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml index fe7db85d..37b70260 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml @@ -64,6 +64,25 @@ </method> <!-- + HangupAndAccept: + + Hangup all active calls, if any, and accept the next call. + + Waiting calls have preference over held calls, so the next + call being active will be any waiting call, or otherwise, + any held call. + + The user should monitor the state of all available ongoing + calls to be reported of which one becomes active. + + No error is returned if there are no waiting or held calls. + In this case, this method would be equivalent to calling + <link linkend="gdbus-method-org-freedesktop-ModemManager1-Call.Hangup">Hangup()</link> + on the active call. + --> + <method name="HangupAndAccept" /> + + <!-- CallAdded: @path: Object path of the new call. |