Helper interface for JNI interaction; signature creation and method lookups.
| debug |
Set debug to true to log calls through the AndroidJNIHelper. |
| GetConstructorID |
Scans a particular Java class for a constructor method matching a signature. |
| GetMethodID |
Scans a particular Java class for a method matching a name and a signature. |
| GetFieldID |
Scans a particular Java class for a field matching a name and a signature. |
| CreateJavaRunnable |
Creates a UnityJavaRunnable object (implements java.lang.Runnable). |
| ConvertToJNIArray |
Creates a Java array from a managed array. |
| CreateJNIArgArray |
Creates the parameter array to be used as argument list when invoking Java code through CallMethod() in AndroidJNI. |
| DeleteJNIArgArray |
Deletes any local jni references previously allocated by CreateJNIArgArray(). |
| GetConstructorID |
Get a JNI method ID for a constructor based on calling arguments. |
| GetMethodID |
Get a JNI method ID based on calling arguments. |
| GetSignature |
Creates the JNI signature string for particular object type. |
| ConvertFromJNIArray |
Creates a managed array from a Java array. |
| GetMethodID |
Get a JNI method ID based on calling arguments. |
| GetFieldID |
Get a JNI field ID based on type detection. Generic parameter represents the field type. |
| GetSignature |
Creates the JNI signature string for an object parameter list. |