aboutsummaryrefslogtreecommitdiff
path: root/buffet/dbus_bindings/com.android.Weave.Command.dbus-xml
blob: 360213543d7ed99f10926b06a98b7e5e9a13308c (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
<?xml version="1.0" encoding="UTF-8" ?>

<node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
  <interface name="com.android.Weave.Command">
    <method name="SetProgress">
      <arg name="progress" type="a{sv}" direction="in"/>
      <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
    </method>
    <method name="Complete">
      <tp:docstring>
        Mark the command as successfully completed and specifies the command
        results to be returned to the caller.
      </tp:docstring>
      <arg name="results" type="a{sv}" direction="in"/>
      <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
    </method>
    <method name="Abort">
      <tp:docstring>
        Mark the command as aborted. This tells the cloud that the device did
        not successfully complete executing the command. The error information
        is provided in |code| and |message| parameters.
      </tp:docstring>
      <arg name="code" type="s" direction="in"/>
      <arg name="message" type="s" direction="in"/>
      <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
    </method>
    <method name="Cancel">
      <tp:docstring>
        Mark the command as cancelled. Unlike Abort() this should be used when
        the device detects a user request to cancel a command.
      </tp:docstring>
      <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
    </method>
    <property name="Name" type="s" access="read"/>
    <property name="Id" type="s" access="read"/>
    <property name="Component" type="s" access="read"/>
    <property name="State" type="s" access="read"/>
    <property name="Parameters" type="a{sv}" access="read"/>
    <property name="Progress" type="a{sv}" access="read"/>
    <property name="Results" type="a{sv}" access="read"/>
    <property name="Origin" type="s" access="read">
      <tp:docstring>
        Specifies the origin of the command. This is a string containing
        "cloud" or "local" indicating the method of delivery of the command.
      </tp:docstring>
    </property>
  </interface>
</node>