aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
blob: aa9f2292fc95800a0911146ac40c14007c407f64 (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
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/com/canonical/indicators/sound">
  <interface name="com.canonical.indicators.sound">
    <method name = "BlacklistMediaPlayer">
        <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
        <arg type='s' name='player_desktop_name' direction="in"/>
        <arg type='b' name='blacklist' direction="in"/>
        <arg type='b' name='result' direction="out"/>
    </method>
    <method name = "IsBlacklisted">
        <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
        <arg type='s' name='player_desktop_name' direction="in"/>
        <arg type='b' name='result' direction="out"/>
    </method>
    <method name = "GetSoundState">
        <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
        <arg type='i' name='current_state' direction="out"/>
    </method>
    <method name = "EnableTrackSpecificItems">
        <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
        <arg type='s' name='player_desktop_name' direction="in"/>
    </method>
    <method name = "EnablePlayerSpecificItems">
        <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
        <arg type='s' name='player_desktop_name' direction="in"/>
    </method>    
    <signal name="SoundStateUpdate">
      <arg name="new_state" type="i" direction="out"/>
    </signal>
  </interface>
</node>