| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8" ?> | 1 <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | 2 |
| 3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensio
ns-v0"> | 3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensio
ns-v0"> |
| 4 <interface name="org.chromium.Cashew"> | 4 <interface name="org.chromium.Cashew"> |
| 5 |
| 6 <tp:simple-type name="Timestamp" type="x"> |
| 7 <tp:docstring> |
| 8 A 64-bit integer representing time in seconds since the Epoch. |
| 9 </tp:docstring> |
| 10 </tp:simple-type> |
| 11 |
| 12 <tp:simple-type name="Bytes" type="x"> |
| 13 <tp:docstring> |
| 14 A 64-bit integer representing a byte count. |
| 15 </tp:docstring> |
| 16 </tp:simple-type> |
| 17 |
| 18 <tp:struct name="DataPlan" array-name="DataPlansList"> |
| 19 <tp:docstring> |
| 20 A struct representing a data plan for a cellular service. |
| 21 Some fields are not always present, so this is sent as a dict. |
| 22 </tp:docstring> |
| 23 <tp:member name="CellularPlanName" type="s"> |
| 24 <tp:docstring> |
| 25 Human-friendly plan name |
| 26 </tp:docstring> |
| 27 </tp:member> |
| 28 <tp:member name="CellularPlanType" type="s"> |
| 29 <tp:docstring> |
| 30 Plan type. One of: UNLIMITED, METERED_PAID, METERED_BASE. |
| 31 </tp:docstring> |
| 32 </tp:member> |
| 33 <tp:member name="CellularPlanUpdateTime" type="x" tp:type="Timestamp"> |
| 34 <tp:docstring> |
| 35 Timestamp indicating freshness of plan data. |
| 36 </tp:docstring> |
| 37 </tp:member> |
| 38 <tp:member name="CellularPlanStart" type="x" tp:type="Timestamp"> |
| 39 <tp:docstring> |
| 40 Timestamp indicating time at which plan becomes active. |
| 41 </tp:docstring> |
| 42 </tp:member> |
| 43 <tp:member name="CellularPlanEnd" type="x" tp:type="Timestamp"> |
| 44 <tp:docstring> |
| 45 Timestamp indicating time at which plan expires. |
| 46 </tp:docstring> |
| 47 </tp:member> |
| 48 <tp:member name="CellularPlanDataBytes" type="x" tp:type="Bytes"> |
| 49 <tp:docstring> |
| 50 Max number of bytes available during plan period. |
| 51 </tp:docstring> |
| 52 </tp:member> |
| 53 <tp:member name="CellularDataBytesUsed" type="x" tp:type="Bytes"> |
| 54 <tp:docstring> |
| 55 Number of bytes already consumed during plan period. |
| 56 </tp:docstring> |
| 57 </tp:member> |
| 58 </tp:struct> |
| 59 |
| 60 <signal name="DataPlansUpdate"> |
| 61 <tp:docstring> |
| 62 Update containing data plan info for a cellular service. |
| 63 </tp:docstring> |
| 64 <arg name="service" type="s"> |
| 65 <tp:docstring> |
| 66 The dbus path of the cellular service to which this update pertains. |
| 67 </tp:docstring> |
| 68 </arg> |
| 69 <arg name="plans" type="aa{sv}" tp:type="DataPlansList"> |
| 70 <tp:docstring> |
| 71 A list of plan structs describing the data plans for |service|. |
| 72 </tp:docstring> |
| 73 </arg> |
| 74 </signal> |
| 75 |
| 76 <method name="GetDataPlans"> |
| 77 <tp:docstring> |
| 78 Get data plan info for a cellular service. |
| 79 </tp:docstring> |
| 80 <arg name="service" type="s" direction="in"> |
| 81 <tp:docstring> |
| 82 The dbus path of the cellular service for which caller wants info. |
| 83 </tp:docstring> |
| 84 </arg> |
| 85 <arg name="plans" type="aa{sv}" direction="out" tp:type="DataPlansList"> |
| 86 <tp:docstring> |
| 87 A list of plan structs describing the data plans for |service|. |
| 88 </tp:docstring> |
| 89 </arg> |
| 90 </method> |
| 91 |
| 92 <method name="RequestDataPlansUpdate"> |
| 93 <tp:docstring> |
| 94 Request that a DataPlansUpdate signal be sent for a cellular service. |
| 95 </tp:docstring> |
| 96 <arg name="service" type="s" direction="in"> |
| 97 <tp:docstring> |
| 98 The dbus path of the cellular service for which caller wants info. |
| 99 </tp:docstring> |
| 100 </arg> |
| 101 </method> |
| 102 |
| 5 <method name="IsAlive"> | 103 <method name="IsAlive"> |
| 6 <tp:docstring> | 104 <tp:docstring> |
| 7 Test method to verify that Cashew service is working. | 105 Test method to verify that Cashew service is working. |
| 8 </tp:docstring> | 106 </tp:docstring> |
| 9 <arg name="result" type="b" direction="out"> | 107 <arg name="result" type="b" direction="out"> |
| 10 <tp:docstring> | 108 <tp:docstring> |
| 11 Boolean indicating whether Cashew service is alive. | 109 Boolean indicating whether Cashew service is alive. |
| 12 </tp:docstring> | 110 </tp:docstring> |
| 13 </arg> | 111 </arg> |
| 14 </method> | 112 </method> |
| 15 </interface> | 113 </interface> |
| 16 </node> | 114 </node> |
| OLD | NEW |