as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

ISystemInfo

Core interface for querying system information.

Methods

getUptime()

getUptime(): Promise<MonotonicDuration>

Returns the duration since the system was last booted.

Returns

Promise<MonotonicDuration>


isEmulator()

isEmulator(): Promise<boolean>

Returns true if the system is running in a virtualized environment rather than on real hardware.

The term “Emulator” is used as a general term to include both emulators and simulators, so this property returns true for any non-physical device, regardless of the platform.

Returns

Promise<boolean>


getOperatingSystemInfo()

getOperatingSystemInfo(): IOperatingSystemInfo

Returns the instance of for querying operating system information.

Returns

IOperatingSystemInfo


Last updated: Jul 22, 2026