blob: 46913b36017aa82260ba6fd73b77ee3f1b1439a2 [file] [log] [blame]
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -08001<?xml version="1.0" encoding="UTF-8" ?>
2
Alex Vakulenko130edb02014-11-25 14:04:27 -08003<node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
Alex Vakulenko63bdf082015-08-21 09:27:12 -07004 <interface name="com.android.Weave.Command">
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -08005 <method name="SetProgress">
Vitaly Bukae25f6fa2015-04-29 12:16:58 -07006 <arg name="progress" type="a{sv}" direction="in"/>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -08007 <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
8 </method>
Alex Vakulenkobe39e932015-10-09 08:10:36 -07009 <method name="Complete">
10 <tp:docstring>
11 Mark the command as successfully completed and specifies the command
12 results to be returned to the caller.
13 </tp:docstring>
Anton Muhin9ac45862014-11-25 03:36:59 +040014 <arg name="results" type="a{sv}" direction="in"/>
15 <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
16 </method>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080017 <method name="Abort">
Christopher Wileyc28daab2015-03-06 11:55:12 -080018 <tp:docstring>
19 Mark the command as aborted. This tells the cloud that the device did
Alex Vakulenkobe39e932015-10-09 08:10:36 -070020 not successfully complete executing the command. The error information
21 is provided in |code| and |message| parameters.
Christopher Wileyc28daab2015-03-06 11:55:12 -080022 </tp:docstring>
Alex Vakulenkobe39e932015-10-09 08:10:36 -070023 <arg name="code" type="s" direction="in"/>
24 <arg name="message" type="s" direction="in"/>
Alex Vakulenko2915a7b2015-10-07 17:04:00 -070025 <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080026 </method>
27 <method name="Cancel">
Christopher Wileyc28daab2015-03-06 11:55:12 -080028 <tp:docstring>
29 Mark the command as cancelled. Unlike Abort() this should be used when
30 the device detects a user request to cancel a command.
31 </tp:docstring>
Alex Vakulenko2915a7b2015-10-07 17:04:00 -070032 <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080033 </method>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080034 <property name="Name" type="s" access="read"/>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080035 <property name="Id" type="s" access="read"/>
Alex Vakulenkobe39e932015-10-09 08:10:36 -070036 <property name="State" type="s" access="read"/>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080037 <property name="Parameters" type="a{sv}" access="read"/>
Vitaly Bukae25f6fa2015-04-29 12:16:58 -070038 <property name="Progress" type="a{sv}" access="read"/>
Anton Muhin9ac45862014-11-25 03:36:59 +040039 <property name="Results" type="a{sv}" access="read"/>
Alex Vakulenkod4190442015-04-20 12:33:52 -070040 <property name="Origin" type="s" access="read">
41 <tp:docstring>
42 Specifies the origin of the command. This is a string containing
43 "cloud" or "local" indicating the method of delivery of the command.
44 </tp:docstring>
45 </property>
Alex Vakulenko12e2c1a2014-11-21 08:57:57 -080046 </interface>
47</node>