aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service.xml
blob: cb1d92859e4427210211e5001ddce185bbb41ca9 (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
<!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/indicator/sound">
  <interface name="com.canonical.indicator.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='o' name='player_object_path' direction="in"/>
        <arg type='s' name='player_desktop_id' direction="in"/>
    </method>
    <method name = "EnablePlayerSpecificItems">
        <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
        <arg type='o' name='player_object_path' direction="in"/>
        <arg type='s' name='player_desktop_id' direction="in"/>
    </method>    
    <signal name="SoundStateUpdate">
      <arg name="new_state" type="i" direction="out"/>
    </signal>
  </interface>
</node>