github.com/cybriq/giocore@v0.0.7-0.20210703034601-cfb9cb5f3900/app/app_android.go (about) 1 // SPDX-License-Identifier: Unlicense OR MIT 2 3 package app 4 5 import ( 6 "github.com/cybriq/giocore/app/internal/wm" 7 ) 8 9 // JavaVM returns the global JNI JavaVM. 10 func JavaVM() uintptr { 11 return wm.JavaVM() 12 } 13 14 // AppContext returns the global Application context as a JNI 15 // jobject. 16 func AppContext() uintptr { 17 return wm.AppContext() 18 }