Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | |
Alex Vakulenko | 130edb0 | 2014-11-25 14:04:27 -0800 | [diff] [blame] | 3 | <node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
Alex Vakulenko | 63bdf08 | 2015-08-21 09:27:12 -0700 | [diff] [blame] | 4 | <interface name="com.android.Weave.Command"> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 5 | <method name="SetProgress"> |
Vitaly Buka | e25f6fa | 2015-04-29 12:16:58 -0700 | [diff] [blame] | 6 | <arg name="progress" type="a{sv}" direction="in"/> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 7 | <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
| 8 | </method> |
Alex Vakulenko | be39e93 | 2015-10-09 08:10:36 -0700 | [diff] [blame] | 9 | <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 Muhin | 9ac4586 | 2014-11-25 03:36:59 +0400 | [diff] [blame] | 14 | <arg name="results" type="a{sv}" direction="in"/> |
| 15 | <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
| 16 | </method> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 17 | <method name="Abort"> |
Christopher Wiley | c28daab | 2015-03-06 11:55:12 -0800 | [diff] [blame] | 18 | <tp:docstring> |
| 19 | Mark the command as aborted. This tells the cloud that the device did |
Alex Vakulenko | be39e93 | 2015-10-09 08:10:36 -0700 | [diff] [blame] | 20 | not successfully complete executing the command. The error information |
| 21 | is provided in |code| and |message| parameters. |
Christopher Wiley | c28daab | 2015-03-06 11:55:12 -0800 | [diff] [blame] | 22 | </tp:docstring> |
Alex Vakulenko | be39e93 | 2015-10-09 08:10:36 -0700 | [diff] [blame] | 23 | <arg name="code" type="s" direction="in"/> |
| 24 | <arg name="message" type="s" direction="in"/> |
Alex Vakulenko | 2915a7b | 2015-10-07 17:04:00 -0700 | [diff] [blame] | 25 | <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 26 | </method> |
| 27 | <method name="Cancel"> |
Christopher Wiley | c28daab | 2015-03-06 11:55:12 -0800 | [diff] [blame] | 28 | <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 Vakulenko | 2915a7b | 2015-10-07 17:04:00 -0700 | [diff] [blame] | 32 | <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 33 | </method> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 34 | <property name="Name" type="s" access="read"/> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 35 | <property name="Id" type="s" access="read"/> |
Alex Vakulenko | be39e93 | 2015-10-09 08:10:36 -0700 | [diff] [blame] | 36 | <property name="State" type="s" access="read"/> |
Alex Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 37 | <property name="Parameters" type="a{sv}" access="read"/> |
Vitaly Buka | e25f6fa | 2015-04-29 12:16:58 -0700 | [diff] [blame] | 38 | <property name="Progress" type="a{sv}" access="read"/> |
Anton Muhin | 9ac4586 | 2014-11-25 03:36:59 +0400 | [diff] [blame] | 39 | <property name="Results" type="a{sv}" access="read"/> |
Alex Vakulenko | d419044 | 2015-04-20 12:33:52 -0700 | [diff] [blame] | 40 | <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 Vakulenko | 12e2c1a | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 46 | </interface> |
| 47 | </node> |