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
Skip to main content
The Vega System Info API provides functionality that allows you to query essential system-level information about the running operating system instance. This includes system uptime, operating system details, build information, and hardware characteristics specifically designed for apps running on Vega. The API provides the following key features:
  • 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. The key type definitions are as follows.

Getting Started

Setup

Add the following library dependencies to your package.json file.
To install the dependencies run the following command.

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 the IOperatingSystemInfo interface to access detailed operating system information.

Retrieve build information

The following example code shows how to use the IBuildInfo 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

Interfaces


Last modified on July 22, 2026