@signageos/front-applet 8.2.0 → 8.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/bundle.js +5 -5
  2. package/dist/bundle.js.map +1 -1
  3. package/docs/index.md +9 -9
  4. package/docs/sos/browser.md +11 -3
  5. package/docs/sos/deviceInfo.md +1 -1
  6. package/docs/sos/display.md +13 -20
  7. package/docs/sos/fileSystem.md +31 -6
  8. package/docs/sos/hardware/barcodeScanner.md +9 -0
  9. package/docs/sos/hardware/index.md +9 -0
  10. package/docs/sos/native/mdc.md +8 -3
  11. package/docs/sos/osd.md +9 -0
  12. package/docs/sos/video.md +9 -0
  13. package/docs/sos_management/app.md +97 -18
  14. package/docs/sos_management/audio.md +43 -2
  15. package/docs/sos_management/autoRecovery.md +101 -0
  16. package/docs/sos_management/debug.md +84 -1
  17. package/docs/sos_management/firmware.md +64 -1
  18. package/docs/sos_management/index.md +217 -19
  19. package/docs/sos_management/network.md +84 -29
  20. package/docs/sos_management/os.md +59 -4
  21. package/docs/sos_management/package.md +25 -3
  22. package/docs/sos_management/power.md +142 -18
  23. package/docs/sos_management/proxy.md +54 -3
  24. package/docs/sos_management/remoteControl.md +55 -4
  25. package/docs/sos_management/screen.md +140 -29
  26. package/docs/sos_management/security.md +48 -5
  27. package/docs/sos_management/time.md +76 -9
  28. package/docs/sos_management/wifi.md +207 -45
  29. package/es6/FrontApplet/Browser/Browser.d.ts +11 -3
  30. package/es6/FrontApplet/Browser/Browser.js +11 -3
  31. package/es6/FrontApplet/Browser/Browser.js.map +1 -1
  32. package/es6/FrontApplet/Command/Command.js +1 -0
  33. package/es6/FrontApplet/Command/Command.js.map +1 -1
  34. package/es6/FrontApplet/DeviceInfo/DeviceInfo.d.ts +1 -1
  35. package/es6/FrontApplet/DeviceInfo/DeviceInfo.js +15 -5
  36. package/es6/FrontApplet/DeviceInfo/DeviceInfo.js.map +1 -1
  37. package/es6/FrontApplet/DeviceInfo/IDeviceInfo.d.ts +1 -1
  38. package/es6/FrontApplet/Display/Display.d.ts +14 -19
  39. package/es6/FrontApplet/Display/Display.js +14 -19
  40. package/es6/FrontApplet/Display/Display.js.map +1 -1
  41. package/es6/FrontApplet/FileSystem/FileSystem.d.ts +27 -5
  42. package/es6/FrontApplet/FileSystem/FileSystem.js +27 -5
  43. package/es6/FrontApplet/FileSystem/FileSystem.js.map +1 -1
  44. package/es6/FrontApplet/Hardware/BarcodeScanner/BarcodeScanner.d.ts +9 -0
  45. package/es6/FrontApplet/Hardware/BarcodeScanner/BarcodeScanner.js +9 -0
  46. package/es6/FrontApplet/Hardware/BarcodeScanner/BarcodeScanner.js.map +1 -1
  47. package/es6/FrontApplet/Hardware/Hardware.d.ts +9 -0
  48. package/es6/FrontApplet/Hardware/Hardware.js +9 -0
  49. package/es6/FrontApplet/Hardware/Hardware.js.map +1 -1
  50. package/es6/FrontApplet/Management/App/App.d.ts +53 -17
  51. package/es6/FrontApplet/Management/App/App.js +23 -12
  52. package/es6/FrontApplet/Management/App/App.js.map +1 -1
  53. package/es6/FrontApplet/Management/App/IApp.d.ts +3 -0
  54. package/es6/FrontApplet/Management/Audio/Audio.d.ts +24 -3
  55. package/es6/FrontApplet/Management/Audio/Audio.js +24 -3
  56. package/es6/FrontApplet/Management/Audio/Audio.js.map +1 -1
  57. package/es6/FrontApplet/Management/AutoRecovery/AutoRecovery.d.ts +49 -3
  58. package/es6/FrontApplet/Management/AutoRecovery/AutoRecovery.js +49 -3
  59. package/es6/FrontApplet/Management/AutoRecovery/AutoRecovery.js.map +1 -1
  60. package/es6/FrontApplet/Management/Debug/Debug.d.ts +44 -2
  61. package/es6/FrontApplet/Management/Debug/Debug.js +43 -1
  62. package/es6/FrontApplet/Management/Debug/Debug.js.map +1 -1
  63. package/es6/FrontApplet/Management/Firmware/Firmware.d.ts +41 -4
  64. package/es6/FrontApplet/Management/Firmware/Firmware.js +33 -0
  65. package/es6/FrontApplet/Management/Firmware/Firmware.js.map +1 -1
  66. package/es6/FrontApplet/Management/Management.d.ts +119 -21
  67. package/es6/FrontApplet/Management/Management.js +119 -22
  68. package/es6/FrontApplet/Management/Management.js.map +1 -1
  69. package/es6/FrontApplet/Management/Network/Network.d.ts +44 -25
  70. package/es6/FrontApplet/Management/Network/Network.js +28 -14
  71. package/es6/FrontApplet/Management/Network/Network.js.map +1 -1
  72. package/es6/FrontApplet/Management/OS/IOS.d.ts +3 -0
  73. package/es6/FrontApplet/Management/OS/OS.d.ts +32 -4
  74. package/es6/FrontApplet/Management/OS/OS.js +32 -4
  75. package/es6/FrontApplet/Management/OS/OS.js.map +1 -1
  76. package/es6/FrontApplet/Management/Package/Package.d.ts +18 -3
  77. package/es6/FrontApplet/Management/Package/Package.js +18 -4
  78. package/es6/FrontApplet/Management/Package/Package.js.map +1 -1
  79. package/es6/FrontApplet/Management/Power/IPower.d.ts +3 -0
  80. package/es6/FrontApplet/Management/Power/IPower.js.map +1 -1
  81. package/es6/FrontApplet/Management/Power/Power.d.ts +67 -20
  82. package/es6/FrontApplet/Management/Power/Power.js +70 -24
  83. package/es6/FrontApplet/Management/Power/Power.js.map +1 -1
  84. package/es6/FrontApplet/Management/Proxy/Proxy.d.ts +28 -3
  85. package/es6/FrontApplet/Management/Proxy/Proxy.js +28 -3
  86. package/es6/FrontApplet/Management/Proxy/Proxy.js.map +1 -1
  87. package/es6/FrontApplet/Management/RemoteControl/RemoteControl.d.ts +23 -5
  88. package/es6/FrontApplet/Management/RemoteControl/RemoteControl.js +23 -5
  89. package/es6/FrontApplet/Management/RemoteControl/RemoteControl.js.map +1 -1
  90. package/es6/FrontApplet/Management/Screen/Screen.d.ts +77 -32
  91. package/es6/FrontApplet/Management/Screen/Screen.js +65 -26
  92. package/es6/FrontApplet/Management/Screen/Screen.js.map +1 -1
  93. package/es6/FrontApplet/Management/Security/Security.d.ts +25 -7
  94. package/es6/FrontApplet/Management/Security/Security.js +25 -7
  95. package/es6/FrontApplet/Management/Security/Security.js.map +1 -1
  96. package/es6/FrontApplet/Management/Time/Time.d.ts +47 -11
  97. package/es6/FrontApplet/Management/Time/Time.js +29 -7
  98. package/es6/FrontApplet/Management/Time/Time.js.map +1 -1
  99. package/es6/FrontApplet/Management/Wifi/IWifi.d.ts +3 -0
  100. package/es6/FrontApplet/Management/Wifi/IWifi.js.map +1 -1
  101. package/es6/FrontApplet/Management/Wifi/Wifi.d.ts +137 -42
  102. package/es6/FrontApplet/Management/Wifi/Wifi.js +137 -42
  103. package/es6/FrontApplet/Management/Wifi/Wifi.js.map +1 -1
  104. package/es6/FrontApplet/NativeCommands/MDC/Mdc.d.ts +8 -3
  105. package/es6/FrontApplet/NativeCommands/MDC/Mdc.js +8 -3
  106. package/es6/FrontApplet/NativeCommands/MDC/Mdc.js.map +1 -1
  107. package/es6/FrontApplet/OSD/OSD.d.ts +9 -0
  108. package/es6/FrontApplet/OSD/OSD.js +9 -0
  109. package/es6/FrontApplet/OSD/OSD.js.map +1 -1
  110. package/es6/FrontApplet/Video/Video.d.ts +9 -0
  111. package/es6/FrontApplet/Video/Video.js +9 -0
  112. package/es6/FrontApplet/Video/Video.js.map +1 -1
  113. package/es6/Monitoring/DeviceInfo/deviceInfoCommands.d.ts +1 -1
  114. package/package.json +1 -1
@@ -4,7 +4,20 @@ sidebar_position: 0
4
4
 
5
5
  # debug
6
6
 
7
- The `sos.management.debug` API groups together method for working with native debug mode.
7
+ The `sos.management.debug` API groups together methods for working with native debug mode.
8
+
9
+ :::note
10
+ Some modern systems might require additional steps to enable the native debug mode. Please refer to the [native debug documentation](https://docs.signageos.io/hc/en-us/articles/4413935787154-Applet-Native-Device-Debug) for more information.
11
+ :::
12
+
13
+ <details>
14
+ <summary>Debug Management Capabilities</summary>
15
+ | Capability | Description |
16
+ |:------------|:-------------|
17
+ | `SET_DEBUG` | If the device can enable or disable the native debug mode. |
18
+
19
+ If you want to check if the device supports this capability, use [`sos.management.supports()`](https://developers.signageos.io/sdk/sos_management/#supports).
20
+ </details>
8
21
 
9
22
  ## Methods
10
23
 
@@ -16,6 +29,16 @@ The `enable()` method disables the [native debug](https://docs.signageos.io/hc/e
16
29
  disable(): Promise<void>;
17
30
  ```
18
31
 
32
+ #### Return value
33
+
34
+ A promise that resolves when the debug mode is disabled.
35
+
36
+ #### Example
37
+
38
+ ```ts
39
+ await sos.management.debug.disable();
40
+ ```
41
+
19
42
  <Separator />
20
43
 
21
44
  ### enable()
@@ -26,6 +49,22 @@ The `enable()` method enables the [native debug](https://docs.signageos.io/hc/en
26
49
  enable(): Promise<void>;
27
50
  ```
28
51
 
52
+ #### Return value
53
+
54
+ A promise that resolves when the debug mode is enabled.
55
+
56
+ #### Example
57
+
58
+ ```ts
59
+ await sos.management.debug.enable();
60
+ ```
61
+
62
+ :::note[GitHub Example]
63
+
64
+ - [ Example applet with activating debug mode](https://github.com/signageos/applet-examples/tree/master/examples/management-js-api/debug)
65
+
66
+ :::
67
+
29
68
  <Separator />
30
69
 
31
70
  ### isEnabled()
@@ -34,4 +73,48 @@ The `isEnabled()` method returns whether the [native debug](https://docs.signage
34
73
 
35
74
  ```ts expandable
36
75
  isEnabled(): Promise<boolean>;
76
+ ```
77
+
78
+ #### Return value
79
+
80
+ A promise that resolves to `true` if the debug mode is enabled, otherwise `false`.
81
+
82
+ #### Example
83
+
84
+ ```ts
85
+ const isDebugEnabled = await sos.management.debug.isEnabled();
86
+ console.log(`Native debug mode is ${isDebugEnabled ? 'enabled' : 'disabled'}.`);
87
+ ```
88
+
89
+ <Separator />
90
+
91
+ ### setDebug()
92
+
93
+ The `setDebug(enabled)` method sets the native debug mode to the specified state.
94
+
95
+ ```ts expandable
96
+ setDebug(enabled: boolean): Promise<void>;
97
+ ```
98
+
99
+ #### Params
100
+
101
+ | Name | Type | Required | Description |
102
+ |-----------|-----------|------------------|---------------------------------------------------------|
103
+ | `enabled` | `boolean` | <div>Yes</div> | `true` to enable the debug mode, `false` to disable it. |
104
+
105
+ #### Return value
106
+
107
+ A promise that resolves when the debug mode is set.
108
+
109
+ #### Possible errors
110
+
111
+ If the `enabled` parameter is not a boolean.
112
+
113
+ #### Example
114
+
115
+ ```ts
116
+ const enabled = await sos.management.debug.isEnabled();
117
+ if (!enabled) {
118
+ await sos.management.debug.setDebug(true);
119
+ }
37
120
  ```
@@ -6,6 +6,25 @@ sidebar_position: 0
6
6
 
7
7
  The `sos.management.firmware` API groups together methods for working with the firmware of the device.
8
8
 
9
+ :::warning
10
+ Always check if your absolute firmware URL ends with a firmware file. Example: `https://cnd.your-cms.com/brightsign/fw/brightsign-update.bsfw`
11
+ :::
12
+
13
+ :::info
14
+ For BrightSign firmware upgrade, please ensure that you have a text file with the SHA1 hash of that firmware file.
15
+ - Firmware file path: `https://cnd.your-cms.com/brightsign/fw/brightsign-update.bsfw`
16
+ - SHA1 txt file: `https://cnd.your-cms.com/brightsign/fw/brightsign-update.bsfw.sha1.txt`
17
+ :::
18
+
19
+ <details>
20
+ <summary>Firmware Management Capabilities</summary>
21
+ | Capability | Description |
22
+ |:------------|:-------------|
23
+ | `FIRMWARE_UPGRADE` | If device can upgrade firmware version |
24
+
25
+ If you want to check if the device supports this capability, use [`sos.management.supports()`](https://developers.signageos.io/sdk/sos_management/#supports).
26
+ </details>
27
+
9
28
  ## Methods
10
29
 
11
30
  ### getType()
@@ -14,10 +33,26 @@ The `getType()` method returns the type of the firmware currently installed on t
14
33
 
15
34
  This information, when combined with firmware version, can be used to identify a correct firmware image to install on the current device.
16
35
 
36
+ <details>
37
+ <summary>Linux and Android prefixes</summary>
38
+ | Type | Description |
39
+ |:------------|:-------------|
40
+ | `rpi` | Any Raspberry Pi 3 or Compute Module 3 |
41
+ | `rpi4` | Any Raspberry Pi 4 or Compute Module 4 |
42
+ | `benq-` | Any Benq display |
43
+ | `philips-` | Any Philips display |
44
+ | `sharp-` | Any Sharp display |
45
+ | `elo-` | Any Elo display |
46
+ </details>
47
+
17
48
  ```ts expandable
18
49
  getType(): Promise<string>;
19
50
  ```
20
51
 
52
+ #### Return value
53
+
54
+ A promise that resolves to the current firmware type.
55
+
21
56
  #### Example
22
57
 
23
58
  ```ts
@@ -35,6 +70,10 @@ The `getVersion()` method returns the version of the firmware currently installe
35
70
  getVersion(): Promise<string>;
36
71
  ```
37
72
 
73
+ #### Return value
74
+
75
+ A promise that resolves to the current firmware version.
76
+
38
77
  #### Example
39
78
 
40
79
  ```ts
@@ -59,6 +98,10 @@ upgrade(baseUrl: string, version: string): Promise<void>;
59
98
  | `baseUrl` | `string` | <div>Yes</div> | The server URL where firmware files are located. |
60
99
  | `version` | `string` | <div>Yes</div> | The version of the firmware being installed. |
61
100
 
101
+ #### Return value
102
+
103
+ A promise that resolves when the firmware upgrade is initiated.
104
+
62
105
  #### Example
63
106
 
64
107
  ```ts
@@ -90,12 +133,22 @@ upgrade(fwUri: string): Promise<void>;
90
133
  |---------|----------|------------------|--------------------------------------------------|
91
134
  | `fwUri` | `string` | <div>Yes</div> | FQN uri where the firmware main file is located. |
92
135
 
136
+ #### Return value
137
+
138
+ A promise that resolves when the firmware upgrade is initiated.
139
+
93
140
  #### Example
94
141
 
95
142
  ```ts
96
143
  await sos.management.firmware.upgrade('https://cdn.your-cms.com/tizen/pmf/fw/2080_4.bem');
97
144
  ```
98
145
 
146
+ :::note[GitHub Example]
147
+
148
+ - [ Example applet with firmware upgrade](https://github.com/signageos/applet-examples/tree/master/examples/management-js-api/firmware)
149
+
150
+ :::
151
+
99
152
  <Separator />
100
153
 
101
154
  ### upgrade(version, baseUrl)
@@ -113,4 +166,14 @@ upgrade(version: string, baseUrl?: string): Promise<void>;
113
166
  | Name | Type | Required | Description |
114
167
  |-----------|----------|------------------|-------------------------------------------------------------------------------------------------------|
115
168
  | `version` | `string` | <div>Yes</div> | The version of the firmware being installed. |
116
- | `baseUrl` | `string` | <div>No</div> | Optional server URL where firmware files are located.<br/>(Default value: `"https://2.signageos.io"`) |
169
+ | `baseUrl` | `string` | <div>No</div> | Optional server URL where firmware files are located.<br/>(Default value: `"https://2.signageos.io"`) |
170
+
171
+ #### Return value
172
+
173
+ A promise that resolves when the firmware upgrade is initiated.
174
+
175
+ #### Example
176
+
177
+ ```ts
178
+ await sos.management.firmware.upgrade('T-HKMLAKUC-2080.4');
179
+ ```
@@ -4,8 +4,30 @@ sidebar_position: 0
4
4
 
5
5
  # sos.management
6
6
 
7
- The `sos.management` API group provides methods for managing the device. Through this API things like device firmware,
8
- battery status, brightness, network information, remote control, power, time or volume can be monitored.
7
+ The `sos.management` API group provides methods for managing the device. Through this API, things like device firmware,
8
+ battery status, brightness, network information, remote control, power, time, or volume can be monitored.
9
+
10
+ :::note GitHub Example
11
+ - [Basic usage of the Management API](https://github.com/signageos/applet-examples/tree/master/examples/management-js-api/basics)
12
+ - [Getting basic management data](https://github.com/signageos/applet-examples/tree/master/examples/management-js-api/js-management-getters)
13
+ - [Setting management data](https://github.com/signageos/applet-examples/tree/master/examples/management-js-api/js-management-setters)
14
+ :::
15
+
16
+ <details>
17
+ <summary>Management Capabilities</summary>
18
+ | Capability | Description |
19
+ |:------------|:-------------|
20
+ | `MODEL` | If device can return proper model name |
21
+ | `SERIAL_NUMBER` | If device can return serial number |
22
+ | `BATTERY_STATUS` | If device can return battery status |
23
+ | `TEMPERATURE` | If device can return current temperature |
24
+ | `BRAND` | If device can return manufacturer brand |
25
+ | `FACTORY_RESET` | If device can perform factory reset |
26
+ | `EXTENDED_MANAGEMENT` | If device can return or set extended management URL |
27
+ | `HARDWARE_ACCELERATION` | If device can turn hardware acceleration on or off |
28
+
29
+ If you want to check if the device supports those capabilities, use [`sos.management.supports()`](https://developers.signageos.io/sdk/sos_management/#supports).
30
+ </details>
9
31
 
10
32
  ## Methods
11
33
 
@@ -17,12 +39,24 @@ The `factoryReset()` method initializes the factory reset of the device.
17
39
  factoryReset(): Promise<void>;
18
40
  ```
19
41
 
42
+ #### Return value
43
+
44
+ A promise that resolves when the factory reset is initiated.
45
+
46
+ #### Possible errors
47
+
48
+ If the device does not support factory reset.
49
+
20
50
  <Separator />
21
51
 
22
52
  ### getBatteryStatus()
23
53
 
24
54
  The `getBatteryStatus()` method returns information about the battery of the device.
25
55
 
56
+ :::note
57
+ - Emulator has mocked this method and will always return a battery status with 100% charge.
58
+ :::
59
+
26
60
  ```ts expandable
27
61
  getBatteryStatus(): Promise<IBatteryStatus>;
28
62
  // show-more
@@ -36,6 +70,21 @@ interface IBatteryStatus {
36
70
 
37
71
  ```
38
72
 
73
+ #### Return value
74
+
75
+ A promise that resolves to an object containing the battery status.
76
+
77
+ #### Possible errors
78
+
79
+ If the device does not support battery status monitoring.
80
+
81
+ #### Example
82
+
83
+ ```ts
84
+ const batteryStatus = await sos.management.getBatteryStatus();
85
+ console.log(`Battery status: ${batteryStatus.percentage}% charged`);
86
+ ```
87
+
39
88
  <Separator />
40
89
 
41
90
  ### getBrand()
@@ -46,22 +95,43 @@ The `getBrand()` method returns the manufacturer brand of the device.
46
95
  getBrand(): Promise<string>;
47
96
  ```
48
97
 
98
+ #### Return value
99
+
100
+ A promise that resolves to the brand name of the device.
101
+
102
+ #### Possible errors
103
+
104
+ If the device does not support brand information.
105
+
106
+ #### Example
107
+
108
+ ```ts
109
+ const brand = await sos.management.getBrand();
110
+ console.log(`Device brand is: ${brand}`); // e.g., 'Samsung', 'LG', BrightSign, etc.
111
+ ```
112
+
49
113
  <Separator />
50
114
 
51
115
  ### getExtendedManagementUrl()
52
116
 
53
- The `getExtendedManagementUrl()` method returns the management url of the device.
117
+ The `getExtendedManagementUrl()` method returns the management URL of the device.
54
118
 
55
119
  :::info
56
-
57
- This is currently only implemented for the MagicInfo on Tizen platform.
58
-
120
+ This is currently only implemented for the MagicInfo on the Tizen platform.
59
121
  :::
60
122
 
61
123
  ```ts expandable
62
124
  getExtendedManagementUrl(): Promise<string | null>;
63
125
  ```
64
126
 
127
+ #### Return value
128
+
129
+ A promise that resolves to the management URL of the device, or `null` if not set.
130
+
131
+ #### Possible errors
132
+
133
+ If the device does not support the extended management URL.
134
+
65
135
  <Separator />
66
136
 
67
137
  ### getModel()
@@ -72,6 +142,17 @@ The `getModel()` method returns the model of the device.
72
142
  getModel(): Promise<string>;
73
143
  ```
74
144
 
145
+ #### Return value
146
+
147
+ A promise that resolves to the model name of the device.
148
+
149
+ #### Example
150
+
151
+ ```ts
152
+ const model = await sos.management.getModel();
153
+ console.log(`Device model is: ${model}`); // e.g. 'XC4055' (BrightSign)
154
+ ```
155
+
75
156
  <Separator />
76
157
 
77
158
  ### getSerialNumber()
@@ -82,16 +163,42 @@ The `getSerialNumber()` method returns the serial number of the device.
82
163
  getSerialNumber(): Promise<string>;
83
164
  ```
84
165
 
166
+ #### Return value
167
+
168
+ A promise that resolves to the serial number of the device.
169
+
170
+ #### Example
171
+
172
+ ```ts
173
+ const serialNumber = await sos.management.getSerialNumber();
174
+ console.log(`Device serial number is: ${serialNumber}`); // e.g. '1234567890'
175
+ ```
176
+
85
177
  <Separator />
86
178
 
87
179
  ### getTemperature()
88
180
 
89
- The `getTemperature()` method returns the temperature of the device (in 0-100 range of degrees Celsius).
181
+ The `getTemperature()` method returns the temperature of the device (in the 0-100 range of degrees Celsius).
90
182
 
91
183
  ```ts expandable
92
184
  getTemperature(): Promise<number>;
93
185
  ```
94
186
 
187
+ #### Return value
188
+
189
+ A promise that resolves to the current temperature of the device.
190
+
191
+ #### Possible errors
192
+
193
+ If the device does not support temperature monitoring.
194
+
195
+ #### Example
196
+
197
+ ```ts
198
+ const temperature = await sos.management.getTemperature();
199
+ console.log(`Current device temperature is: ${temperature}°C`); // e.g. 25°C
200
+ ```
201
+
95
202
  <Separator />
96
203
 
97
204
  ### isHardwareAccelerationEnabled()
@@ -102,32 +209,51 @@ The `isHardwareAccelerationEnabled()` method returns whether hardware accelerati
102
209
  isHardwareAccelerationEnabled(): Promise<boolean>;
103
210
  ```
104
211
 
212
+ #### Return value
213
+
214
+ A promise that resolves to `true` if hardware acceleration is enabled, otherwise `false`.
215
+
216
+ #### Possible errors
217
+
218
+ If the device does not support hardware acceleration management.
219
+
220
+ #### Example
221
+
222
+ ```ts
223
+ const isEnabled = await sos.management.isHardwareAccelerationEnabled();
224
+ console.log(`Hardware acceleration is ${isEnabled ? 'enabled' : 'disabled'}.`);
225
+ ```
226
+
105
227
  <Separator />
106
228
 
107
229
  ### resetSettings()
108
230
 
109
231
  The `resetSettings()` method initializes the reset of the specific device settings.
110
232
 
111
- :::info
112
-
113
- This is currently only implemented on Linux platform.
114
-
233
+ :::warning
234
+ This is currently only implemented on the Linux platform.
115
235
  :::
116
236
 
117
237
  ```ts expandable
118
238
  resetSettings(): Promise<void>;
119
239
  ```
120
240
 
241
+ #### Return value
242
+
243
+ A promise that resolves when the settings are reset.
244
+
245
+ #### Possible errors
246
+
247
+ If the device does not support settings reset.
248
+
121
249
  <Separator />
122
250
 
123
251
  ### setExtendedManagementUrl()
124
252
 
125
- The `getExtendedManagementUrl()` set the management url of the device.
253
+ The `getExtendedManagementUrl()` sets the management URL of the device.
126
254
 
127
255
  :::info
128
-
129
- This is currently only implemented for the MagicInfo on Tizen platform.
130
-
256
+ This is currently only implemented for the MagicInfo on the Tizen platform.
131
257
  :::
132
258
 
133
259
  ```ts expandable
@@ -136,15 +262,39 @@ setExtendedManagementUrl(url: string | null): Promise<void>;
136
262
 
137
263
  #### Params
138
264
 
139
- | Name | Type | Required | Description |
140
- |-------|------------------|------------------|----------------------------|
141
- | `url` | `string \| null` | <div>Yes</div> | The management URL to set. |
265
+ | Name | Type | Required | Description |
266
+ |-------|------------------|------------------|-----------------------------------------------------------------------|
267
+ | `url` | `string \| null` | <div>Yes</div> | The management URL to set. If `null`, it will remove the current URL. |
268
+
269
+ #### Return value
270
+
271
+ A promise that resolves when the URL is set.
272
+
273
+ #### Possible errors
274
+
275
+
276
+ - If the URL is not a valid string or if the device
277
+ - If the device does not support the extended management URL.
278
+
279
+ #### Example
280
+
281
+ ```ts
282
+ await sos.management.setExtendedManagementUrl('https://example.com/management');
283
+ // later
284
+ const url = await sos.management.getExtendedManagementUrl();
285
+ console.log(`Extended management URL is: ${url}`); // e.g. 'https://example.com/management'
286
+ ```
142
287
 
143
288
  <Separator />
144
289
 
145
290
  ### setHardwareAcceleration()
146
291
 
147
- The `setHardwareAcceleration()` method enables or disables hardware acceleration.
292
+ The `setHardwareAcceleration()` method turns hardware acceleration on or off.
293
+
294
+ :::note
295
+ - This is currently only implemented for the BrightSign platform.
296
+ - Device must always be rebooted for the changes to take effect.
297
+ :::
148
298
 
149
299
  ```ts expandable
150
300
  setHardwareAcceleration(enabled: boolean): Promise<void>;
@@ -156,12 +306,45 @@ setHardwareAcceleration(enabled: boolean): Promise<void>;
156
306
  |-----------|-----------|------------------|--------------------------------------------------|
157
307
  | `enabled` | `boolean` | <div>Yes</div> | Whether hardware acceleration should be enabled. |
158
308
 
309
+ #### Return value
310
+
311
+ A promise that resolves when the hardware acceleration setting is applied.
312
+
313
+ #### Possible errors
314
+
315
+
316
+ - If the `enabled` parameter is not a boolean.
317
+ - If the device does not support hardware acceleration management.
318
+
319
+ #### Example
320
+
321
+ ```ts
322
+ await sos.management.setHardwareAcceleration(true).then(async () => {
323
+ console.log('Hardware acceleration enabled.');
324
+ await sos.management.reboot();
325
+ }).catch((error) => {
326
+ console.error('Failed to set hardware acceleration:', error);
327
+ });
328
+ ```
329
+
159
330
  <Separator />
160
331
 
161
332
  ### supports()
162
333
 
163
334
  The `supports()` method determines whether a queried capability is supported.
164
335
 
336
+ #### What are capabilities?
337
+ Capabilities are features or functionalities that a device can support. We divided those capabilities into `front` and `management` capabilities.
338
+ This section is about management capabilities, which include features to manage the device, receive information about the device, or change its settings.
339
+
340
+ On the other hand, the `front` capabilities are features that are related to the application running on the device, such as displaying content, handling user input, etc.
341
+ To check `front` capabilities, refer to the `sos.display.supports()` method or [this section](https://developers.signageos.io/sdk/sos/display#supports).
342
+
343
+ :::tip
344
+ If you want to check specific capabilities, refer to the sidebar for the selected management section. Every section has its capabilities written in the description,
345
+ or check the **ManagementCapability** type in `supports()` method. It has a list of all available capabilities for all platforms.
346
+ :::
347
+
165
348
  ```ts expandable
166
349
  supports(capability: ManagementCapability): Promise<boolean>;
167
350
  // show-more
@@ -177,6 +360,21 @@ type AnyString = string & {};
177
360
  |--------------|------------------------|------------------|--------------------------------------|
178
361
  | `capability` | `ManagementCapability` | <div>Yes</div> | The capability to check for support. |
179
362
 
363
+ #### Return value
364
+
365
+ A promise that resolves to `true` if the capability is supported, otherwise `false`.
366
+
367
+ #### Possible errors
368
+
369
+ If the capability is not a valid string.
370
+
371
+ #### Example
372
+
373
+ ```ts
374
+ const isSupported = await sos.management.supports('OS_VERSION');
375
+ console.log(`Is OS_VERSION supported? ${isSupported}`);
376
+ ```
377
+
180
378
  <Separator />
181
379
 
182
380
  ### ~getNetworkInfo()~