'Raw' JNI interface to Android Java VM from Unity scripting (C#).
Note: Using raw JNI functions requires advanced knowledge of the Android Java Native Interface (JNI). Please take note.
AllocObject | オブジェクト用としてコストラクタを呼び出さずに、新しい Java オブジェクトを割り当てる。 |
AttachCurrentThread | Java ( Dalvik ) VM を現行のスレッドにアタッチする。 |
CallBooleanMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallBooleanMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallCharMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallCharMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallDoubleMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallDoubleMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallFloatMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallFloatMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallIntMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallIntMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallLongMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallLongMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallObjectMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallObjectMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallSByteMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallSByteMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallShortMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallShortMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallStaticBooleanMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticBooleanMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticCharMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticCharMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticDoubleMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticDoubleMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticFloatMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticFloatMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticIntMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticIntMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticLongMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticLongMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticObjectMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticObjectMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticSByteMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticSByteMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticShortMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticShortMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticStringMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticStringMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticVoidMethod | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStaticVoidMethodUnsafe | Invokes the specified methodID static method on a Java object, optionally passing in an array of arguments (args). |
CallStringMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallStringMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallVoidMethod | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
CallVoidMethodUnsafe | Calls a Java instance method defined by methodID, optionally passing an array of arguments (args) to the method. |
DeleteGlobalRef | objで指定したグローバル参照を削除します。 |
DeleteLocalRef | objで指定したローカル参照ポイントを削除します。 |
DeleteWeakGlobalRef | Deletes the global weak reference pointed to by obj. |
DetachCurrentThread | Java ( Dalvik ) VM から現行のスレッドをデタッチします。 |
EnsureLocalCapacity | 指定された数のローカル参照を、現在のスレッドで作成できることを保証します |
ExceptionClear | 現在スローされているすべての例外を削除します |
ExceptionDescribe | logcatに例外とスタックのバックトレースを表示します |
ExceptionOccurred | 例外がスローされるかどうかを設定する |
FatalError | 致命的なエラーを発生させて VM が回復することを期待しません。この関数は戻り値はありません。 |
FindClass | この関数はローカルに定義されたクラスを読み込みます。 |
FromBooleanArray | Converts a Java array of boolean to a managed array of System.Boolean. |
FromCharArray | Converts a Java array of char to a managed array of System.Char. |
FromDoubleArray | Converts a Java array of double to a managed array of System.Double. |
FromFloatArray | Converts a Java array of float to a managed array of System.Single. |
FromIntArray | Converts a Java array of int to a managed array of System.Int32. |
FromLongArray | Converts a Java array of long to a managed array of System.Int64. |
FromObjectArray | Converts a Java array of java.lang.Object to a managed array of System.IntPtr, representing Java objects. |
FromReflectedField | <tt>java.lang.reflect.Field<tt>オブジェクトをフィールド ID へ変換する。 |
FromReflectedMethod | <tt>java.lang.reflect.Method<tt>や<tt>java.lang.reflect.Constructor<tt>オブジェクトをメソッド ID へ変換する。 |
FromSByteArray | Converts a Java array of byte to a managed array of System.SByte. |
FromShortArray | Converts a Java array of short to a managed array of System.Int16. |
GetArrayLength | 配列の長さを取得します。 |
GetBooleanArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetBooleanField | Returns the value of an instance (nonstatic) field of an object. |
GetCharArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetCharField | Returns the value of an instance (nonstatic) field of an object. |
GetDirectBufferAddress | Fetches and returns the starting address of the memory region referenced by the given direct java.nio.Buffer. |
GetDirectBufferCapacity | Fetches and returns the capacity of the memory region referenced by the given direct java.nio.Buffer. |
GetDirectByteBuffer | Returns the NativeArray backed by the same memory region as the given direct java.nio.Buffer. |
GetDirectSByteBuffer | Returns the NativeArray backed by the same memory region as the given direct java.nio.Buffer. |
GetDoubleArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetDoubleField | Returns the value of an instance (nonstatic) field of an object. |
GetFieldID | static ではないクラスのインスタンスフィールドのフィールド ID を取得します。 |
GetFloatArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetFloatField | Returns the value of an instance (nonstatic) field of an object. |
GetIntArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetIntField | Returns the value of an instance (nonstatic) field of an object. |
GetJavaVM | Returns the pointer to JavaVM. |
GetLongArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetLongField | Returns the value of an instance (nonstatic) field of an object. |
GetMethodID | static でないクラスやインターフェースのメソッド ID を取得する |
GetObjectArrayElement | Object配列の要素を返します。 |
GetObjectClass | オブジェクトのクラスを取得します。 |
GetObjectField | Returns the value of an instance (nonstatic) field of an object. |
GetSByteArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetSByteField | Returns the value of an instance (nonstatic) field of an object. |
GetShortArrayElement | プリミティブ配列の 1 つの要素の値を返します |
GetShortField | Returns the value of an instance (nonstatic) field of an object. |
GetStaticBooleanField | Returns the value of a static field of an object. |
GetStaticCharField | Returns the value of a static field of an object. |
GetStaticDoubleField | Returns the value of a static field of an object. |
GetStaticFieldID | クラスの static フィールドのフィールド ID を取得します。 |
GetStaticFloatField | Returns the value of a static field of an object. |
GetStaticIntField | Returns the value of a static field of an object. |
GetStaticLongField | Returns the value of a static field of an object. |
GetStaticMethodID | クラスの static メソッドのメソッド ID を取得します |
GetStaticObjectField | Returns the value of a static field of an object. |
GetStaticSByteField | Returns the value of a static field of an object. |
GetStaticShortField | Returns the value of a static field of an object. |
GetStaticStringField | Returns the value of a static field of an object. |
GetStringChars | Returns a pointer to the array of Unicode characters of the string. This pointer is valid until ReleaseStringchars() is called. |
GetStringField | Returns the value of an instance (nonstatic) field of an object. |
GetStringLength | Returns the length (the count of Unicode characters) of a Java string. |
GetStringUTFChars | UTF-8 エンコーディングに修正された文字列を表す String オブジェクトを返します。 |
GetStringUTFLength | 修正された UTF-8 形式の文字列のバイトの長さを返します。 |
GetSuperclass | clazzがObjectクラス以外の物を指す場合、この関数はclazzによって指定されたクラスのスーパークラスを表すオブジェクトを返します。 |
GetVersion | ネイティブメソッドインターフェースのバージョンを取得します。 |
IsAssignableFrom | clazz1オブジェクトはclazz2へ安全にキャストできるかどうかを決定します |
IsInstanceOf | オブジェクトがクラスのインスタンスであるかどうかを確認します。 |
IsSameObject | 2 つの参照が同じ Java オブジェクトかどうかを確認します。 |
NewBooleanArray | Constructs a new primitive array object. |
NewCharArray | Constructs a new primitive array object. |
NewDirectByteBuffer | Allocates and returns a direct java.nio.ByteBuffer referring to the block of memory starting at the memory address address and extending capacity bytes. |
NewDoubleArray | Constructs a new primitive array object. |
NewFloatArray | Constructs a new primitive array object. |
NewGlobalRef | obj引数によって参照されたオブジェクトへの新規グローバル参照を作成します。 |
NewIntArray | Constructs a new primitive array object. |
NewLocalRef | obj引数と同じオブジェクトを参照する、新しいローカル参照を作成します。 |
NewLongArray | Constructs a new primitive array object. |
NewObject | 新規 Java オブジェクトを構築します。メソッド ID はコンストラクターメソッドを実行するためのインデックスです。この ID は<init>のようなメソッド名と void (V)のような戻り型で GetMethodID()を呼び出して取得したものにすべきです。 |
NewObjectA | 新規 Java オブジェクトを構築します。メソッド ID はコンストラクターメソッドを実行するためのインデックスです。この ID は<init>のようなメソッド名と void (V)のような戻り型で GetMethodID()を呼び出して取得したものにすべきです。 |
NewObjectArray | clazzクラスを持つオブジェクト配列を作成します。すべての要素がobjに設定されています |
NewSByteArray | Constructs a new primitive array object. |
NewShortArray | Constructs a new primitive array object. |
NewString | Constructs a new java.lang.String object from an array of Unicode characters. |
NewStringUTF | 修正された UTF-8 エンコーディングの文字配列から新規java.lang.Stringオブジェクトを構築します。 |
NewWeakGlobalRef | Creates a new global weak reference to the object referred to by the obj argument. |
PopLocalFrame | すべてのローカル参照から現在のローカル参照フレームを取り出し、resultオブジェクトを渡すために前のローカル参照フレームを返します。 |
PushLocalFrame | 新しいローカル参照フレームを、最低でも設定した数作成する。 |
RegisterNatives | Registers native methods with the class specified by the clazz argument. |
SetBooleanArrayElement | Sets the boolean value of one element in a primitive array. |
SetBooleanField | Sets the value of an instance field of the specified object. |
SetCharArrayElement | Sets the char value of one element in a primitive array. |
SetCharField | Sets the value of an instance field of the specified object. |
SetDoubleArrayElement | Sets the double value of one element in a primitive array. |
SetDoubleField | Sets the value of an instance field of the specified object. |
SetFloatArrayElement | Sets the float value of one element in a primitive array. |
SetFloatField | Sets the value of an instance field of the specified object. |
SetIntArrayElement | Sets the int value of one element in a primitive array. |
SetIntField | Sets the value of an instance field of the specified object. |
SetLongArrayElement | Sets the long value of one element in a primitive array. |
SetLongField | Sets the value of an instance field of the specified object. |
SetObjectArrayElement | Object配列の要素を設定します。 |
SetObjectField | Sets the value of an instance field of the specified object. |
SetSByteArrayElement | Sets the sbyte value of one element in a primitive array. |
SetSByteField | Sets the value of an instance field of the specified object. |
SetShortArrayElement | Sets the short value of one element in a primitive array. |
SetShortField | Sets the value of an instance field of the specified object. |
SetStaticBooleanField | Sets the value of a static field in the specified object. |
SetStaticCharField | Sets the value of a static field in the specified object. |
SetStaticDoubleField | Sets the value of a static field in the specified object. |
SetStaticFloatField | Sets the value of a static field in the specified object. |
SetStaticIntField | Sets the value of a static field in the specified object. |
SetStaticLongField | Sets the value of a static field in the specified object. |
SetStaticObjectField | Sets the value of a static field in the specified object. |
SetStaticSByteField | Sets the value of a static field in the specified object. |
SetStaticShortField | Sets the value of a static field in the specified object. |
SetStaticStringField | Sets the value of a static field in the specified object. |
SetStringField | Sets the value of an instance field of the specified object. |
Throw | java.lang.Throwableオブジェクトがスローされます。 |
ThrowNew | 例外オブジェクトがmessageで指定されたクラスから構築され、その例外がスローされます。 |
ToBooleanArray | Converts a managed array of System.Boolean to a Java array of boolean. |
ToCharArray | Converts a managed array of System.Char to a Java array of char. |
ToDoubleArray | Converts a managed array of System.Double to a Java array of double. |
ToFloatArray | Converts a managed array of System.Single to a Java array of float. |
ToIntArray | Converts a managed array of System.Int32 to a Java array of int. |
ToLongArray | Converts a managed array of System.Int64 to a Java array of long. |
ToObjectArray | Converts a managed array of System.IntPtr, representing Java objects, to a Java array of java.lang.Object. |
ToReflectedField | クラスから派生されたフィールド ID をjava.lang.reflect.Fieldオブジェクトへと変換します。 |
ToReflectedMethod | clazz から派生したメソッド ID からjava.lang.reflect.Methodやjava.lang.reflect.Constructorオブジェクトへ変換します。 |
ToSByteArray | Converts a managed array of System.SByte to a Java array of byte. |
ToShortArray | Converts a managed array of System.Int16 to a Java array of short. |
UnregisterNatives | Unregisters native methods of a class. The class goes back to the state before it was linked or registered with its native method functions. |