Skip to main content

Device & Runtime

What the device running the Lens is and can do: device info and performance, battery, OS, and SPECS system services.

Commonly used

All APIs in this topic

Event data

APIDescription
BatteryStateArgs SPECSStores the battery level and charging state of the device.
InternetStatusChangedArgs SPECSArguments used with the onInternetStatusChanged event.

Objects and data

APIDescription
DeviceInfoSystemProvides information about the device running the Lens.
PerformanceIndexesProvides information about the device running the Lens.
SnapOS SPECS
SystemMenuModule
ThrottleState SPECSA complete snapshot of the device's Dynamic Power Manager throttle state.

Enums

APIDescription
OSTypes of operating system that may be running on the device.
ThrottleMode SPECSThe device's thermal/power throttle level as reported by the SnapOS Dynamic Power Manager.