OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "systemPrivate", | 3 "namespace": "systemPrivate", |
4 "nodoc": true, | 4 "nodoc": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "UpdateStatus", | 7 "id": "UpdateStatus", |
8 "type": "object", | 8 "type": "object", |
9 "description": "Information about the system update.", | 9 "description": "Information about the system update.", |
10 "properties": { | 10 "properties": { |
11 "state": { | 11 "state": { |
12 "type": "string", | 12 "type": "string", |
13 "enum": ["NotAvailable", "Updating", "NeedRestart"], | 13 "enum": ["NotAvailable", "Updating", "NeedRestart"], |
14 "description": "State of system update. NotAvailable when there is
no available update or the update system is in error state, Updating when a syst
em update is in progress, NeedRestart when a system update is finished and resta
rt is needed." | 14 "description": "State of system update. NotAvailable when there is
no available update or the update system is in error state, Updating when a syst
em update is in progress, NeedRestart when a system update is finished and resta
rt is needed." |
15 }, | 15 }, |
16 "downloadProgress": { | 16 "downloadProgress": { |
17 "type": "number", | 17 "type": "number", |
18 "description": "Value between 0 and 1 describing the progress of sys
tem update download. This value will be set to 0 when |state| is NotAvailable,
1 when NeedRestart." | 18 "description": "Value between 0 and 1 describing the progress of sys
tem update download. This value will be set to 0 when |state| is NotAvailable,
1 when NeedRestart." |
19 } | 19 } |
20 } | 20 } |
21 }, | 21 }, |
22 { | 22 { |
23 "id": "VolumeInfo", | 23 "id": "VolumeInfo", |
24 "type": "object", | 24 "type": "object", |
25 "description": "Information about the volume.", | 25 "description": "Information about the volume.", |
26 "properties": { | 26 "properties": { |
27 "volume": {"type": "double", "description": "The value of the volume p
ercent. This must be between 0.0 and 100.0."}, | 27 "volume": {"type": "number", "description": "The value of the volume p
ercent. This must be between 0.0 and 100.0."}, |
28 "isVolumeMuted": {"type": "boolean", "description": "True if the volum
e is muted."} | 28 "isVolumeMuted": {"type": "boolean", "description": "True if the volum
e is muted."} |
29 } | 29 } |
30 }, | 30 }, |
31 { | 31 { |
32 "id": "BrightnessChangeInfo", | 32 "id": "BrightnessChangeInfo", |
33 "type": "object", | 33 "type": "object", |
34 "description": "Information about a change to the screen brightness.", | 34 "description": "Information about a change to the screen brightness.", |
35 "properties": { | 35 "properties": { |
36 "brightness": { | 36 "brightness": { |
37 "type": "number", | 37 "type": "number", |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 }, | 117 }, |
118 { | 118 { |
119 "name": "onWokeUp", | 119 "name": "onWokeUp", |
120 "type": "function", | 120 "type": "function", |
121 "description": "Fired when the device wakes up from sleep.", | 121 "description": "Fired when the device wakes up from sleep.", |
122 "parameters": [] | 122 "parameters": [] |
123 } | 123 } |
124 ] | 124 ] |
125 } | 125 } |
126 ] | 126 ] |
OLD | NEW |