Files
gio/app/internal/window/handle_android.go
T
Greg Pomerantz 5ef176af81 app: add Handle type and PlatformHandle()
On Android, allow access to JVM and Application context.

Signed-off-by: Greg Pomerantz <gmp.gio@wow.st>
2019-10-18 20:16:17 +02:00

12 lines
223 B
Go

package window
var PlatformHandle *Handle
type Handle struct {
// JVM is the JNI *JVM pointer.
JVM uintptr
// Context is a global reference to the application's
// android.content.Context instance.
Context uintptr
}