|
VoltAir
|
Native callback functions loaded for and used by the Android activity. More...
Functions | |
| static void | AndroidActivity::onCreate (JNIEnv *jni, jobject activity) |
Android activity onCreate lifecycle callback. More... | |
| static void | AndroidActivity::onStart () |
Android activity onStart lifecycle callback. More... | |
| static void | AndroidActivity::onResume () |
Android activity onResume lifecycle callback. More... | |
| static void | AndroidActivity::onPause () |
Android activity onPause lifecycle callback. More... | |
| static void | AndroidActivity::onStop () |
Android activity onStop lifecycle callback. More... | |
| static void | AndroidActivity::onDestroy (JNIEnv *jni, jobject activity) |
Android activity onDestroy lifecycle callback. More... | |
| static void | AndroidActivity::onControllerDisconnect (JNIEnv *, jobject, int deviceId) |
Android activity onControllerDisconnect callback indicating that a device identified by deviceId has disconnected. More... | |
| static bool | AndroidActivity::onGamepadMotionEvent (JNIEnv *jni, jobject, jobject motionEvent) |
Android activity onGamepadMotionEvent callback for an Android MotionEvent that originated from a gamepad device. More... | |
| static bool | AndroidActivity::onGamepadKeyEvent (JNIEnv *jni, jobject, jobject keyEvent) |
Android activity onGamepadKeyEvent callback for an Android KeyEvent that originated from a gamepad device. More... | |
| static bool | AndroidActivity::onTouchNavigationMotionEvent (JNIEnv *jni, jobject, jobject motionEvent) |
Android activity onTouchNavigationMotionEvent callback for an Android MotionEvent that originated from a touch navigation device. More... | |
| static bool | AndroidActivity::onTouchNavigationKeyEvent (JNIEnv *jni, jobject, jobject keyEvent) |
Android activity onTouchNavigationKeyEvent callback for an Android KeyEvent that originated from a touch navigation device. More... | |
| static bool | AndroidActivity::onKeyboardKeyEvent (JNIEnv *jni, jobject, jobject keyEvent) |
Android activity onKeyboardKeyEvent callback for an Android KeyEvent that originated from a keyboard device. More... | |
| static void | AndroidActivity::onSignedIntoCloudChanged (JNIEnv *, jobject, bool signedIntoCloud) |
Android activity onSignedIntoCloudChanged callback indicating that cloud (i.e. GPGS) sign-in status has changed. More... | |
| static void | AndroidActivity::onCloudDataLoaded (JNIEnv *jni, jobject, int statusCode, jstring javaData) |
Android activity onCloudDataLoaded callback when cloud (i.e. GPGS) save data has been loaded. More... | |
| static jstring | AndroidActivity::onCloudDataConflict (JNIEnv *jni, jobject, jstring local, jstring cloud) |
Android activity onCloudDataConflict callback indicating a conflict of cloud (i.e. GPGS) save data has been detected while loading. More... | |
Native callback functions loaded for and used by the Android activity.
All JNINativeMethod functions will be registered and loaded into the JVM in JNI_OnLoad.
|
static |
Android activity onCloudDataConflict callback indicating a conflict of cloud (i.e. GPGS) save data has been detected while loading.
| jni | Current JNI environment |
| local | UTF-8 encoded local save game data that is in conflict |
| cloud | UTF-8 encoded cloud save game data that is in conflict |
|
static |
Android activity onCloudDataLoaded callback when cloud (i.e. GPGS) save data has been loaded.
| jni | Current JNI environment |
| statusCode | Status code indicating load result and possible errors |
| javaData | UTF-8 encoded loaded save game data or null if loading error occurred |
|
static |
Android activity onControllerDisconnect callback indicating that a device identified by deviceId has disconnected.
| deviceId | Id of hardware device which has become disconnected |
|
static |
Android activity onCreate lifecycle callback.
| jni | Current JNI environment |
| activity | Object reference to invoking Android activity |
|
static |
Android activity onDestroy lifecycle callback.
| jni | Current JNI environment |
| activity | Object reference to invoking Android activity |
|
static |
Android activity onGamepadKeyEvent callback for an Android KeyEvent that originated from a gamepad device.
| jni | Current JNI environment |
| keyEvent | Object reference to the Android KeyEvent |
true if the event was handled
|
static |
Android activity onGamepadMotionEvent callback for an Android MotionEvent that originated from a gamepad device.
| jni | Current JNI environment |
| motionEvent | Object reference to the Android MotionEvent |
true if the event was handled
|
static |
Android activity onKeyboardKeyEvent callback for an Android KeyEvent that originated from a keyboard device.
| jni | Current JNI environment |
| keyEvent | Object reference to the Android KeyEvent |
true if the event was handled
|
static |
Android activity onPause lifecycle callback.
|
static |
Android activity onResume lifecycle callback.
|
static |
Android activity onSignedIntoCloudChanged callback indicating that cloud (i.e. GPGS) sign-in status has changed.
| signedIntoCloud | true if currently signed into the cloud |
|
static |
Android activity onStart lifecycle callback.
|
static |
Android activity onStop lifecycle callback.
|
static |
Android activity onTouchNavigationKeyEvent callback for an Android KeyEvent that originated from a touch navigation device.
| jni | Current JNI environment |
| keyEvent | Object reference to the Android KeyEvent |
true if the event was handled
|
static |
Android activity onTouchNavigationMotionEvent callback for an Android MotionEvent that originated from a touch navigation device.
| jni | Current JNI environment |
| motionEvent | Object reference to the Android MotionEvent |
true if the event was handled