You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added Platform info to the result of roDeviceInfo.getModelDetails() (#414)
* Added `Platform` info to the result of `roDeviceInfo.getModelDetails()`
* Replaced usage of deprecated property `navigator.platform`
* Optimized code
Copy file name to clipboardexpand all lines: docs/customization.md
+30-2
Original file line number
Diff line number
Diff line change
@@ -49,12 +49,40 @@ By default, the feature `simulation_engine` is defined internally in the library
49
49
50
50
## App Manifest
51
51
52
-
There is also a way BrightScript apps can change the behavior of the simulation engine, by using custom`manifest` entries. Currently the only custom option is:
52
+
There is also a way BrightScript apps can change the behavior of the simulation engine, by using special`manifest` entries. Currently the only option is:
53
53
54
54
-`multi_key_events=1`: If this flag is defined, will inform the simulator to handle multiple key events in parallel, instead of the default Roku behavior, that is handling one key at a time.
55
55
56
-
Note: custom `manifest`entries are ignored by Roku Devices.
56
+
Note: this special `manifest`entry is ignored by Roku Devices.
57
57
58
58
## Control Mapping
59
59
60
60
It is also possible to customize the Remote Control mapping for the Keyboard and Game Pad, either by sending the custom mapping in the `Options` parameter when running `initialize()` method, or by using `setCustomKeys()` and `setCustomPadButtons()` later on. Check the details in the [engine API documentation](engine-api.md). To know the default mapping please check the source code at `src/api/control.ts`.
61
+
62
+
## Platform Details
63
+
64
+
The engine will also extend the results of the method `roDeviceInfo.getModelDetails()` with several attributes giving information about the platform the app is being executed:
0 commit comments