⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

SK.AndroidJavaVM

static IntPtr AndroidJavaVM{ get set }

Description

On Android systems, this is the pointer to the JavaVM object. If not set, StereoKit will attempt to find it at runtime via JNI_GetCreatedJavaVMs, but this may fail on Android API 24-30 due to linker namespace restrictions. Setting this ensures compatibility across all Android versions.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!