aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
blob: 517088ef526186e3e22081be09312373c5cfb3cb (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
<!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>
    <signal name="SoundStateUpdate">
      <arg name="new_state" type="i" direction="out"/>
    </signal>
  </interface>
</node>