Partager via


JNIEnv Class

Definition

public static class JNIEnv
type JNIEnv = class
Inheritance
JNIEnv

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

Handle

Methods

AllocObject(IntPtr)
AllocObject(String)
AllocObject(Type)
CallBooleanMethod(IntPtr, IntPtr, JValue[])
CallBooleanMethod(IntPtr, IntPtr, JValue*)
CallBooleanMethod(IntPtr, IntPtr)
CallByteMethod(IntPtr, IntPtr, JValue[])
CallByteMethod(IntPtr, IntPtr, JValue*)
CallByteMethod(IntPtr, IntPtr)
CallCharMethod(IntPtr, IntPtr, JValue[])
CallCharMethod(IntPtr, IntPtr, JValue*)
CallCharMethod(IntPtr, IntPtr)
CallDoubleMethod(IntPtr, IntPtr, JValue[])
CallDoubleMethod(IntPtr, IntPtr, JValue*)
CallDoubleMethod(IntPtr, IntPtr)
CallFloatMethod(IntPtr, IntPtr, JValue[])
CallFloatMethod(IntPtr, IntPtr, JValue*)
CallFloatMethod(IntPtr, IntPtr)
CallIntMethod(IntPtr, IntPtr, JValue[])
CallIntMethod(IntPtr, IntPtr, JValue*)
CallIntMethod(IntPtr, IntPtr)
CallLongMethod(IntPtr, IntPtr, JValue[])
CallLongMethod(IntPtr, IntPtr, JValue*)
CallLongMethod(IntPtr, IntPtr)
CallNonvirtualBooleanMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualBooleanMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualBooleanMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualByteMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualByteMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualByteMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualCharMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualCharMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualCharMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualDoubleMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualDoubleMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualDoubleMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualFloatMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualFloatMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualFloatMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualIntMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualIntMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualIntMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualLongMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualLongMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualLongMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualObjectMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualObjectMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualObjectMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualShortMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualShortMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualShortMethod(IntPtr, IntPtr, IntPtr)
CallNonvirtualVoidMethod(IntPtr, IntPtr, IntPtr, JValue[])
CallNonvirtualVoidMethod(IntPtr, IntPtr, IntPtr, JValue*)
CallNonvirtualVoidMethod(IntPtr, IntPtr, IntPtr)
CallObjectMethod(IntPtr, IntPtr, JValue[])
CallObjectMethod(IntPtr, IntPtr, JValue*)
CallObjectMethod(IntPtr, IntPtr)
CallShortMethod(IntPtr, IntPtr, JValue[])
CallShortMethod(IntPtr, IntPtr, JValue*)
CallShortMethod(IntPtr, IntPtr)
CallStaticBooleanMethod(IntPtr, IntPtr, JValue[])
CallStaticBooleanMethod(IntPtr, IntPtr, JValue*)
CallStaticBooleanMethod(IntPtr, IntPtr)
CallStaticByteMethod(IntPtr, IntPtr, JValue[])
CallStaticByteMethod(IntPtr, IntPtr, JValue*)
CallStaticByteMethod(IntPtr, IntPtr)
CallStaticCharMethod(IntPtr, IntPtr, JValue[])
CallStaticCharMethod(IntPtr, IntPtr, JValue*)
CallStaticCharMethod(IntPtr, IntPtr)
CallStaticDoubleMethod(IntPtr, IntPtr, JValue[])
CallStaticDoubleMethod(IntPtr, IntPtr, JValue*)
CallStaticDoubleMethod(IntPtr, IntPtr)
CallStaticFloatMethod(IntPtr, IntPtr, JValue[])
CallStaticFloatMethod(IntPtr, IntPtr, JValue*)
CallStaticFloatMethod(IntPtr, IntPtr)
CallStaticIntMethod(IntPtr, IntPtr, JValue[])
CallStaticIntMethod(IntPtr, IntPtr, JValue*)
CallStaticIntMethod(IntPtr, IntPtr)
CallStaticLongMethod(IntPtr, IntPtr, JValue[])
CallStaticLongMethod(IntPtr, IntPtr, JValue*)
CallStaticLongMethod(IntPtr, IntPtr)
CallStaticObjectMethod(IntPtr, IntPtr, JValue[])
CallStaticObjectMethod(IntPtr, IntPtr, JValue*)
CallStaticObjectMethod(IntPtr, IntPtr)
CallStaticShortMethod(IntPtr, IntPtr, JValue[])
CallStaticShortMethod(IntPtr, IntPtr, JValue*)
CallStaticShortMethod(IntPtr, IntPtr)
CallStaticVoidMethod(IntPtr, IntPtr, JValue[])
CallStaticVoidMethod(IntPtr, IntPtr, JValue*)
CallStaticVoidMethod(IntPtr, IntPtr)
CallVoidMethod(IntPtr, IntPtr, JValue[])
CallVoidMethod(IntPtr, IntPtr, JValue*)
CallVoidMethod(IntPtr, IntPtr)
CheckHandle(IntPtr)
CopyArray(Array, Type, IntPtr)
CopyArray(Boolean[], IntPtr)
CopyArray(Byte[], IntPtr)
CopyArray(Char[], IntPtr)
CopyArray(Double[], IntPtr)
CopyArray(IJavaObject[], IntPtr)
CopyArray(Int16[], IntPtr)
CopyArray(Int32[], IntPtr)
CopyArray(Int64[], IntPtr)
CopyArray(IntPtr, Array, Type)
CopyArray(IntPtr, Boolean[])
CopyArray(IntPtr, Byte[])
CopyArray(IntPtr, Char[])
CopyArray(IntPtr, Double[])
CopyArray(IntPtr, Int16[])
CopyArray(IntPtr, Int32[])
CopyArray(IntPtr, Int64[])
CopyArray(IntPtr, Single[])
CopyArray(IntPtr, String[])
CopyArray(IntPtr, UInt16[])
CopyArray(IntPtr, UInt32[])
CopyArray(IntPtr, UInt64[])
CopyArray(Single[], IntPtr)
CopyArray(String[], IntPtr)
CopyArray<T>(IntPtr, T[])
CopyArray<T>(T[], IntPtr)
CopyObjectArray<T>(IntPtr, T[])
CopyObjectArray<T>(T[], IntPtr)
CreateInstance(IntPtr, String, JValue[])
CreateInstance(IntPtr, String, JValue*)
CreateInstance(String, String, JValue[])
CreateInstance(String, String, JValue*)
CreateInstance(Type, String, JValue[])
CreateInstance(Type, String, JValue*)
DeleteGlobalRef(IntPtr)
DeleteLocalRef(IntPtr)
DeleteWeakGlobalRef(IntPtr)
EnsureLocalCapacity(Int32)
ExceptionClear()
ExceptionDescribe()
ExceptionOccurred()
FindClass(String, IntPtr)
FindClass(String)
FindClass(Type)
FinishCreateInstance(IntPtr, IntPtr, IntPtr, JValue[])
FinishCreateInstance(IntPtr, IntPtr, IntPtr, JValue*)
FinishCreateInstance(IntPtr, String, JValue[])
FinishCreateInstance(IntPtr, String, JValue*)
GetArray(IntPtr, JniHandleOwnership, Type)
GetArray<T>(IntPtr)
GetArray<T>(Object[])
GetArrayItem<T>(IntPtr, Int32)
GetArrayLength(IntPtr)
GetBooleanField(IntPtr, IntPtr)
GetByteField(IntPtr, IntPtr)
GetCharField(IntPtr, IntPtr)
GetCharSequence(IntPtr, JniHandleOwnership)
GetClassNameFromInstance(IntPtr)
GetDirectBufferAddress(IntPtr)
GetDirectBufferCapacity(IntPtr)
GetDoubleField(IntPtr, IntPtr)
GetFieldID(IntPtr, String, String)
GetFloatField(IntPtr, IntPtr)
GetIntField(IntPtr, IntPtr)
GetJniName(Type)
GetLongField(IntPtr, IntPtr)
GetMethodID(IntPtr, String, String)
GetObjectArray(IntPtr, Type[])
GetObjectArrayElement(IntPtr, Int32)
GetObjectClass(IntPtr)
GetObjectField(IntPtr, IntPtr)
GetShortField(IntPtr, IntPtr)
GetStaticBooleanField(IntPtr, IntPtr)
GetStaticByteField(IntPtr, IntPtr)
GetStaticCharField(IntPtr, IntPtr)
GetStaticDoubleField(IntPtr, IntPtr)
GetStaticFieldID(IntPtr, String, String)
GetStaticFloatField(IntPtr, IntPtr)
GetStaticIntField(IntPtr, IntPtr)
GetStaticLongField(IntPtr, IntPtr)
GetStaticMethodID(IntPtr, String, String)
GetStaticObjectField(IntPtr, IntPtr)
GetStaticShortField(IntPtr, IntPtr)
GetString(IntPtr, JniHandleOwnership)
GetSuperclass(IntPtr)
InvokeConstructor(IntPtr, String, JValue[])
InvokeConstructor(IntPtr, String, JValue*)
IsAssignableFrom(IntPtr, IntPtr)
IsInstanceOf(IntPtr, IntPtr)
IsSameObject(IntPtr, IntPtr)
NewArray(Array, Type)
NewArray(Boolean[])
NewArray(Byte[])
NewArray(Char[])
NewArray(Double[])
NewArray(IJavaObject[])
NewArray(Int16[])
NewArray(Int32[])
NewArray(Int64[])
NewArray(Single[])
NewArray(String[])
NewArray(UInt16[])
NewArray(UInt32[])
NewArray(UInt64[])
NewArray<T>(T[])
NewDirectByteBuffer(IntPtr, Int64)
NewGlobalRef(IntPtr)
NewLocalRef(IntPtr)
NewObject(IntPtr, IntPtr, JValue[])
NewObject(IntPtr, IntPtr, JValue*)
NewObject(IntPtr, IntPtr)
NewObjectArray(Int32, IntPtr, IntPtr)
NewObjectArray(Int32, IntPtr)
NewObjectArray<T>(T[])
NewString(Char[], Int32)
NewString(String)
PopLocalFrame(IntPtr)
PushLocalFrame(Int32)
SetArrayItem<T>(IntPtr, Int32, T)
SetField(IntPtr, IntPtr, Boolean)
SetField(IntPtr, IntPtr, Char)
SetField(IntPtr, IntPtr, Double)
SetField(IntPtr, IntPtr, Int16)
SetField(IntPtr, IntPtr, Int32)
SetField(IntPtr, IntPtr, Int64)
SetField(IntPtr, IntPtr, IntPtr)
SetField(IntPtr, IntPtr, SByte)
SetField(IntPtr, IntPtr, Single)
SetObjectArrayElement(IntPtr, Int32, IntPtr)
SetStaticField(IntPtr, IntPtr, Boolean)
SetStaticField(IntPtr, IntPtr, Char)
SetStaticField(IntPtr, IntPtr, Double)
SetStaticField(IntPtr, IntPtr, Int16)
SetStaticField(IntPtr, IntPtr, Int32)
SetStaticField(IntPtr, IntPtr, Int64)
SetStaticField(IntPtr, IntPtr, IntPtr)
SetStaticField(IntPtr, IntPtr, SByte)
SetStaticField(IntPtr, IntPtr, Single)
StartCreateInstance(IntPtr, IntPtr, JValue[])
StartCreateInstance(IntPtr, IntPtr, JValue*)
StartCreateInstance(String, String, JValue[])
StartCreateInstance(String, String, JValue*)
StartCreateInstance(Type, String, JValue[])
StartCreateInstance(Type, String, JValue*)
Throw(IntPtr)
ThrowNew(IntPtr, String)
ToJniHandle(IJavaObject)
ToLocalJniHandle(IJavaObject)
ToObjectArray<T>(T[])
WaitForBridgeProcessing()

Applies to