dbus: Add API to send DTMF

Addresses the calls side of #343
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-11-16 09:12:05 +01:00
parent 0761c4a53a
commit a28d694623
2 changed files with 73 additions and 0 deletions

View File

@@ -24,6 +24,13 @@
<interface name="org.gnome.Calls.Call">
<method name="Accept"/>
<method name="Hangup"/>
<method name="SendDtmf">
<arg name="Tone" type="s" direction="in">
<doc:doc>
<doc:summary>A one character string. One of: 0-9,A-D,* or #.</doc:summary>
</doc:doc>
</arg>
</method>
<property name="Inbound" type="b" access="read"/>
<property name="State" type="u" access="read"/>
<property name="Id" type="s" access="read">
@@ -62,5 +69,12 @@
</doc:description>
</doc:doc>
</property>
<property name="CanDtmf" type="b" access="read">
<doc:doc>
<doc:description>
<doc:para>Whether the call can do DTMF</doc:para>
</doc:description>
</doc:doc>
</property>
</interface>
</node>