Methods
getUptime()
getUptime():Returns the duration since the system was last booted.Promise<MonotonicDuration>
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(): IOperatingSystemInfoReturns the instance of IOperatingSystemInfo for querying operating system information.

