Debian Codegraph @

data/org.mobian_project.CallAudio.xml

raw
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <node>
4 <!-- org.mobian_project.CallAudio
5 @short_description: call related audio interface
6
7 This D-Bus interface is used to select audio modes
8 and access other related audio functionality in
9 a mobile phone context.
10 -->
11 <interface name="org.mobian_project.CallAudio">
12
13 <!--
14 SelectMode:
15 @mode: 0 = default audio mode, 1 = voice call mode
16 @success: operation status
17
18 Sets the audio routing configuration according to the @mode
19 parameter.
20
21 If @mode isn't an authorized value,
22 #org.freedesktop.DBus.Error.InvalidArgs error is returned.
23 -->
24 <method name="SelectMode">
25 <arg direction="in" name="mode" type="u"/>
26 <arg direction="out" name="success" type="b"/>
27 </method>
28
29 <!--
30 AudioMode:
31 0 = default audio mode, 1 = voice call mode, 255 = unknown
32 -->
33 <property name="AudioMode" type="u" access="read"/>
34
35 <method name="EnableSpeaker">
36 <arg direction="in" name="enable" type="b"/>
37 <arg direction="out" name="success" type="b"/>
38 </method>
39
40 <!--
41 SpeakerState:
42 0 = off, 1 = on, 255 = unknown
43 all other values should be considered the same as 'unknown'
44 -->
45 <property name="SpeakerState" type="u" access="read"/>
46
47 <method name="MuteMic">
48 <arg direction="in" name="mute" type="b"/>
49 <arg direction="out" name="success" type="b"/>
50 </method>
51
52 <!--
53 MicState:
54 0 = off, 1 = on, 255 = unknown
55 all other values should be considered the same as 'unknown'
56 -->
57 <property name="MicState" type="u" access="read"/>
58 </interface>
59 </node>