blob: c9ed924e6663d6e9cd4f89514632f0a1277b89f3 [file] [log] [blame]
Alex Vakulenko2348e422014-11-21 08:57:57 -08001<?xml version="1.0" encoding="UTF-8" ?>
2
Alex Vakulenkoc3bac7d2014-11-25 14:04:27 -08003<node xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
Alex Vakulenko2348e422014-11-21 08:57:57 -08004 <interface name="org.chromium.Buffet.Command">
5 <method name="SetProgress">
Vitaly Buka4129dfa2015-04-29 12:16:58 -07006 <arg name="progress" type="a{sv}" direction="in"/>
Alex Vakulenko2348e422014-11-21 08:57:57 -08007 <annotation name="org.chromium.DBus.Method.Kind" value="normal"/>
8 </method>
Anton Muhincfde8692014-11-25 03:36:59 +04009 <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 Vakulenko2348e422014-11-21 08:57:57 -080013 <method name="Abort">
Christopher Wiley04182182015-03-06 11:55:12 -080014 <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 Vakulenko2348e422014-11-21 08:57:57 -080018 <annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
19 </method>
20 <method name="Cancel">
Christopher Wiley04182182015-03-06 11:55:12 -080021 <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 Vakulenko2348e422014-11-21 08:57:57 -080025 <annotation name="org.chromium.DBus.Method.Kind" value="simple"/>
26 </method>
27 <method name="Done">
Christopher Wiley04182182015-03-06 11:55:12 -080028 <tp:docstring>
29 Mark the command as successfully completed.
30 </tp:docstring>
Alex Vakulenko2348e422014-11-21 08:57:57 -080031 <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 Vakulenko2348e422014-11-21 08:57:57 -080037 <property name="Parameters" type="a{sv}" access="read"/>
Vitaly Buka4129dfa2015-04-29 12:16:58 -070038 <property name="Progress" type="a{sv}" access="read"/>
Anton Muhincfde8692014-11-25 03:36:59 +040039 <property name="Results" type="a{sv}" access="read"/>
Alex Vakulenkof784e212015-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 Vakulenko2348e422014-11-21 08:57:57 -080046 </interface>
47</node>