summaryrefslogtreecommitdiffstats
path: root/src/daemon/notificationdaemon.xml
blob: eeb39e9f085a6adf5406306f501414d8b0f8b637 (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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">

<!-- 
https://specifications.freedesktop.org/notification-spec/latest/ar01s09.html
 -->

<node name="/org/freedesktop/Notifications">

  <interface name="org.freedesktop.Notifications">

    <method name="GetCapabilities">
      <arg type="as" name="return_caps" direction="out"/>
    </method>
    
    <method name="Notify">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="s" name="app_name" direction="in" />
      <arg type="u" name="id" direction="in" />
      <arg type="s" name="icon" direction="in" />
      <arg type="s" name="summary" direction="in" />
      <arg type="s" name="body" direction="in" />
      <arg type="as" name="actions" direction="in" />
      <arg type="a{sv}" name="hints" direction="in" />
      <arg type="i" name="timeout" direction="in" />
      <arg type="u" name="return_id" direction="out" />
    </method>

    <method name="CloseNotification">
      <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
      <arg type="u" name="id" direction="in" />
    </method>

    <method name="ReloadSettings">
    </method>

    <method name="GetServerInformation">
      <arg type="s" name="return_name" direction="out"/>
      <arg type="s" name="return_vendor" direction="out"/>
      <arg type="s" name="return_version" direction="out"/>
      <arg type="s" name="return_spec_version" direction="out"/>
    </method>
    
    <signal name="NotificationClosed">
      <arg name="id" type="u" direction="out"/>
      <arg name="reason" type="u" direction="out"/>
    </signal>
    
    <signal name="ActionInvoked">
      <arg name="id" type="u" direction="out"/>
      <arg name="action_key" type="s" direction="out"/>
    </signal>
  </interface>
</node>