Develop

Meta VR OS Java Software Development Kit Overview

Updated: Sep 10, 2026
The Meta VR OS Java Software Development Kit (JSDK) provides access to Horizon OS system APIs. These APIs are presented in Java, but they can be used from other languages which can interact with Java, such as Kotlin, C++, and Rust. You can use the JSDK alone or alongside other Meta SDKs.

JSDK features

JSDK currently provides APIs for capabilities such as:
  • Versioning: Query the Meta VR OS SDK version available on a Meta VR device at runtime. This enables a single build of your app to simultaneously target multiple Horizon OS versions by adjusting its behavior at runtime to match the OS version on which it’s running.
  • Stereo SurfaceView: Create the illusion of depth by presenting different images to each eye, enabling 3D content such as movies and photos.
See the JSDK API reference documentation for a list of all currently available APIs.

Integrating JSDK into a project

To add the JSDK to a project, see the Meta VR OS Java Software Development Kit Integration Guide.

Using the JSDK

After adding the JSDK to the relevant project module(s), import the API symbols you want to use.
The Kotlin example below shows how to import and call the API to get the current Meta VR OS SDK version on a Meta VR device:
import metavr.os.Build
...
val sdkVersion: Int = Build.Version.getApiVersion()
The JSDK generally follows Android SDK design patterns. APIs appear in these forms:

Sample projects

You can find JSDK sample code on Github under meta-quest/Meta-VR-OS-SDK-Samples⁠.

Java is a registered trademark of Oracle and/or its affiliates.