getDeviceInfo
Read a structured device summary.
js
getDeviceInfo()Arguments
No arguments.
Returns
Object including systemVersion, screen, battery, ram and storage. Available identity/network fields depend on the device.
Example
js
console.log(JSON.stringify(getDeviceInfo()));