| <?xml version="1.0" encoding="UTF-8" ?> |
| |
| <node name="/org/chromium/Buffet/Manager" |
| xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> |
| <interface name="org.chromium.Buffet.Manager"> |
| <tp:docstring> |
| The Manager is responsible for global state of Buffet. It exposes |
| interfaces which affect the entire device such as device registration and |
| device state. |
| </tp:docstring> |
| <method name="CheckDeviceRegistered"> |
| <arg name="device_id" type="s" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async"/> |
| </method> |
| <method name="GetDeviceInfo"> |
| <arg name="device_info" type="s" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async"/> |
| </method> |
| <method name="RegisterDevice"> |
| <arg name="params" type="a{sv}" direction="in"/> |
| <arg name="device_id" type="s" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async"/> |
| </method> |
| <method name="UpdateState"> |
| <arg name="property_set" type="a{sv}" direction="in"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async"/> |
| </method> |
| <method name="GetState"> |
| <arg name="device_info" type="s" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="normal"/> |
| </method> |
| <method name="AddCommand"> |
| <arg name="json_command" type="s" direction="in"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="async"/> |
| </method> |
| <method name="TestMethod"> |
| <arg name="message" type="s" direction="in"/> |
| <arg name="echoed_message" type="s" direction="out"/> |
| <annotation name="org.chromium.DBus.Method.Kind" value="simple"/> |
| </method> |
| |
| <property name="Status" type="s" access="read"> |
| <tp:docstring> |
| State of Buffet's cloud registration. |
| Possible values include: |
| |
| "offline": Buffet has credentials, but no connectivity to the Internet. |
| "cloud_error": Buffet has credentials, but cannot contact cloud services |
| to verify their validity. This could indicate that cloud |
| services are down, or that DNS is not resolving. |
| "invalid_credentials": Buffet has credentials, but they are no longer |
| valid. |
| "unregistered": Buffet has no credentials, either from an out of |
| box state, or because those credentials have been |
| rejected by the cloud service. Note that we |
| can unregistered with or without Internet connectivity. |
| "registering": Buffet has been provided with credentials, and is |
| registering with the cloud. |
| "registered": Buffet is online and registered with cloud services. |
| </tp:docstring> |
| </property> |
| </interface> |
| </node> |