aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbus/command_interface.xml
blob: e33d7fbc019fbc6a5e119d6f973f2239287ae64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
  <interface name="org.genivi.audiomanager.commandinterface">
    <method name="Connect">
        <arg type="q" name="sourceID" direction="in"/>
        <arg type="q" name="sinkID" direction="in"/>
        <arg type="n" name="result" direction="out"/> <!-- method return code (am_Error_e) -->
        <arg type="q" name="mainConnectionID" direction="out"/>
    </method>
    <method name="Disconnect">
        <arg type="q" name="mainConnectionID" direction="in"/>
        <arg type="n" name="result" direction="out"/> <!-- method return code (am_Error_e) -->
    </method>
    <method name="SetVolume">
        <arg type="q" name="sinkID" direction="in"/>
        <arg type="n" name="volume" direction="in"/>
        <arg type="n" name="result" direction="out"/>
    </method>
    <method name="VolumeStep">
        <arg type="q" name="sinkID" direction="in"/>
        <arg type="n" name="volumeStep" direction="in"/>
        <arg type="n" name="result" direction="out"/>
    </method>
    <method name="SetSinkMuteState">
        <arg type="q" name="sinkID" direction="in"/>
        <arg type="n" name="muteState" direction="in"/>
        <arg type="n" name="result" direction="out"/>
    </method>
    <method name="GetListMainConnections">
        <arg type="n" name="result" direction="out"/>
        <arg type="a(qqqnn)" name="listConnections" direction="out"/>
    </method>
    <method name="GetListMainSinks">
        <arg type="n" name="result" direction="out"/> <!-- method return code (am_Error_e) -->
        <arg type="a(qs(nn)nnq)" name="listMainSinks" direction="out"/> 
        <!-- uint16 sinkID; std::string name; am_Availability_s availability; am_mainVolume_t volume; am_MuteState_e muteState; am_sinkClass_t sinkClassID; -->
    </method>
    <signal name="NewMainConnection">
        <arg type="(qqqnn)" name="mainConnection" direction="out"/>
    </signal>
        <signal name="RemovedMainConnection">
        <arg type="q" name="mainConnectionId" direction="out"/>
    </signal>
    <signal name="MainConnectionStateChanged">
        <arg type="q" name="connectionID" direction="out"/>
        <arg type="n" name="connectionState" direction="out"/>
    </signal>
    <signal name="VolumeChanged">
        <arg type="q" name="sinkID" direction="out"/>
        <arg type="n" name="volume" direction="out"/>
    </signal>
    <signal name="SinkMuteStateChanged">
        <arg type="q" name="sinkID" direction="out"/>
        <arg type="n" name="muteState" direction="out"/>
    </signal>
    <signal name="SystemPropertyChanged">
        <arg type="(nn)" name="SystemProperty" direction="out"/>
    </signal>
  </interface>
</node>