The module contains methods and values to query device information and properties. Call the require
function to load the module before first using its methods:
String representing the firmware installed on the device. Original firmware reports "flipperdevices"
. Do NOT use this to check the presence or absence of features, refer to other ways to check SDK compatibility.
Version of the JavaScript SDK. Do NOT use this to check the presence or absence of features, refer to other ways to check SDK compatibility.
Returns the device model.
Example
Returns the name of the virtual dolphin.
Example
Returns the battery charge percentage.
Example