diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-06-27 14:03:19 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-07-11 23:20:59 +0200 |
commit | c713c2c5f9ef8b1e674833932e9b91fbcca97050 (patch) | |
tree | fbee69ad36b2a4950597bedd0bd713854b0e23b1 /introspection | |
parent | 5de3c4893fd0dc5b36a9a13c8d2bf8bdb682c9fe (diff) |
api,voice: new HoldAndAccept() method
This method will put the currently active call on hold, 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 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml b/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml index 37b70260..b6c16f13 100644 --- a/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml +++ b/introspection/org.freedesktop.ModemManager1.Modem.Voice.xml @@ -64,6 +64,23 @@ </method> <!-- + HoldAndAccept: + + Place all active calls on hold, 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. + --> + <method name="HoldAndAccept" /> + + <!-- HangupAndAccept: Hangup all active calls, if any, and accept the next call. |