- System Uptime Monitoring: Gets precise system uptime with nanosecond accuracy
- Operating System Information: Provides access to the OS display name, version, and codename
- Build Information: Retrieves detailed build metadata and fingerprints
- Emulator Detection: Identifies whether the app is running on the Vega Virtual Device (VVD)
- TypeScript Support: The API fully supports TypeScript definition
- Error Handling: Supports comprehensive error handling with try-catch patterns
Remarks
The core interfaces for the API are as follows.Getting Started
Setup
Add the following library dependencies to yourpackage.json file.
Usage Examples
Basic usage pattern
The following code example shows the minimal usage of the API.ISystemInfo Interface
System Uptime
The following code example shows how to get the system uptime with nanosecond accuracy.Emulator detection
The following example code shows how check whether the app is running on the VVD.Access operating system information
The following example code shows how to use theIOperatingSystemInfo interface to access detailed operating system information.
Retrieve build information
The following example code shows how to use theIBuildInfo interface to retrieve comprehensive build information.
Example
The following example code demonstrates all major features of the API.Error Handling
The API uses standard JavaScript error handling. Always wrap API calls in try-catch blocks.API Reference
Core Interfaces
Type Definitions
Usage Examples
Basic Setup
ISystemInfo Interface
System Uptime
Get precise system uptime with nanosecond accuracy:Emulator Detection
Check if the application is running in an emulator environment:IOperatingSystemInfo Interface
Access detailed operating system information:IBuildInfo Interface
Retrieve comprehensive build information:API Reference
Classes
- MonotonicDuration — Represents a span of time. This type follows ISO 8601 Duration definition.
- RawTimeValue — A basic type used to describe both absolute and relative time.
- RealTimeInstant — Represents a point in time in the system’s clock. Useful for
- SystemInfo
- SystemInfoModule — System Information APIs
Interfaces
- IBuildInfo — Operating system build-specific information.
- IOperatingSystemInfo — Operating System information.
- ISystemInfo — Core interface for querying system information.

