summaryrefslogtreecommitdiffstats
path: root/src/dbus/command_interface.xml
blob: 2be9ba2668b1a572258a4451443a0882d2ad3834 (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
61
62
63
64
<?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>
    <method name="GetListMainSources">
        <arg type="n" name="result" direction="out"/> <!-- method return code (am_Error_e) -->
        <arg type="a(qs(nn)q)" name="listMainSources" direction="out"/> <!-- am_sourceID_t sourceID; std::string name; am_Availability_s availability; am_sourceClass_t sourceClassID; -->
    </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>