Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ISystemInfo

interface ISystemInfo
Extends com.amazon.apmf.IStandard Core interface for querying system information. All methods on this interface are thread-safe and may be called from any thread.

Methods

getUptime()

com.amazon.apmf.MonotonicDuration getUptime()
Returns the duration since the system was last booted.

Returns

com.amazon.apmf.MonotonicDuration The system uptime.

Throws


isEmulator()

bool isEmulator()
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

bool true if running in an emulator, false otherwise.

Throws


getOperatingSystemInfo()

IOperatingSystemInfo* getOperatingSystemInfo()
Returns the instance of IOperatingSystemInfo for querying operating system information. This method returns a cached instance that remains valid for the lifetime of the process. Multiple calls return the same instance.

Returns

IOperatingSystemInfo* instance of IOperatingSystemInfo for querying OS-specific information.

Throws


Last modified on October 29, 2026