Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | |
Alex Vakulenko | c3bac7d | 2014-11-25 14:04:27 -0800 | [diff] [blame] | 3 | <node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 4 | <interface name="org.chromium.Buffet.Command"> |
| 5 | <method name="SetProgress"> |
Vitaly Buka | 4129dfa | 2015-04-29 12:16:58 -0700 | [diff] [blame] | 6 | <arg name="progress" type="a{sv}" direction="in"/> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 7 | <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
| 8 | </method> |
Anton Muhin | cfde869 | 2014-11-25 03:36:59 +0400 | [diff] [blame] | 9 | <method name="SetResults"> |
| 10 | <arg name="results" type="a{sv}" direction="in"/> |
| 11 | <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
| 12 | </method> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 13 | <method name="Abort"> |
Christopher Wiley | 0418218 | 2015-03-06 11:55:12 -0800 | [diff] [blame] | 14 | <tp:docstring> |
| 15 | Mark the command as aborted. This tells the cloud that the device did |
| 16 | not successfully complete executing the command. |
| 17 | </tp:docstring> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 18 | <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| 19 | </method> |
| 20 | <method name="Cancel"> |
Christopher Wiley | 0418218 | 2015-03-06 11:55:12 -0800 | [diff] [blame] | 21 | <tp:docstring> |
| 22 | Mark the command as cancelled. Unlike Abort() this should be used when |
| 23 | the device detects a user request to cancel a command. |
| 24 | </tp:docstring> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 25 | <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| 26 | </method> |
| 27 | <method name="Done"> |
Christopher Wiley | 0418218 | 2015-03-06 11:55:12 -0800 | [diff] [blame] | 28 | <tp:docstring> |
| 29 | Mark the command as successfully completed. |
| 30 | </tp:docstring> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 31 | <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| 32 | </method> |
| 33 | <property name="Name" type="s" access="read"/> |
| 34 | <property name="Category" type="s" access="read"/> |
| 35 | <property name="Id" type="s" access="read"/> |
| 36 | <property name="Status" type="s" access="read"/> |
Alex Vakulenko | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 37 | <property name="Parameters" type="a{sv}" access="read"/> |
Vitaly Buka | 4129dfa | 2015-04-29 12:16:58 -0700 | [diff] [blame] | 38 | <property name="Progress" type="a{sv}" access="read"/> |
Anton Muhin | cfde869 | 2014-11-25 03:36:59 +0400 | [diff] [blame] | 39 | <property name="Results" type="a{sv}" access="read"/> |
Alex Vakulenko | f784e21 | 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 | 2348e42 | 2014-11-21 08:57:57 -0800 | [diff] [blame] | 46 | </interface> |
| 47 | </node> |