C# Class MonoJavaBridge.JNIEnv

Afficher le fichier Open project: JeroMiya/androidmono Class Usage Examples

Méthodes publiques

Свойство Type Description
envPtr System.IntPtr

Méthodes publiques

Méthode Description
CallBooleanMethod ( JavaObject obj, MethodId methodIdNative ) : bool
CallBooleanMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : bool
CallByteMethod ( JavaObject obj, MethodId methodIdNative ) : byte
CallByteMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : byte
CallCharMethod ( JavaObject obj, MethodId methodIdNative ) : char
CallCharMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : char
CallDoubleMethod ( JavaObject obj, MethodId methodIdNative ) : double
CallDoubleMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : double
CallFloatMethod ( JavaObject obj, MethodId methodIdNative ) : float
CallFloatMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : float
CallIntMethod ( JavaObject obj, MethodId methodIdNative ) : int
CallIntMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : int
CallLongMethod ( JavaObject obj, MethodId methodIdNative ) : long
CallLongMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : long
CallNonVirtualBooleanMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
CallNonVirtualBooleanMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
CallNonVirtualByteMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
CallNonVirtualByteMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
CallNonVirtualCharMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
CallNonVirtualCharMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
CallNonVirtualDoubleMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
CallNonVirtualDoubleMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
CallNonVirtualFloatMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
CallNonVirtualFloatMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
CallNonVirtualIntMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
CallNonVirtualIntMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
CallNonVirtualLongMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
CallNonVirtualLongMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
CallNonVirtualObjectMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : IntPtr
CallNonVirtualObjectMethodPtr ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : IntPtr
CallNonVirtualShortMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
CallNonVirtualShortMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
CallNonVirtualVoidMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
CallNonVirtualVoidMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
CallShortMethod ( JavaObject obj, MethodId methodIdNative ) : short
CallShortMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : short
CallStaticBooleanMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
CallStaticByteMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
CallStaticCharMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
CallStaticDoubleMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
CallStaticFloatMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
CallStaticIntMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
CallStaticLongMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
CallStaticShortMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
CallStaticVoidMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
CallVoidMethod ( MonoJavaBridge.JniHandle obj, MethodId methodId ) : void
ConvertToString ( MonoJavaBridge.JniHandle javaString ) : string
ExceptionCheck ( ) : bool
ExceptionClear ( ) : void
ExceptionDescribe ( ) : void
ExceptionOccurred ( ) : MonoJavaBridge.JniLocalHandle
ExceptionRead ( ) : bool
ExceptionTest ( ) : void
FatalError ( string message ) : void
FindClass ( string name ) : MonoJavaBridge.JniLocalHandle
FindClassNoThrow ( string name ) : MonoJavaBridge.JniLocalHandle
FindClassPtr ( string name ) : MonoJavaBridge.JniLocalHandle
FindClassPtrNoThrow ( string name ) : MonoJavaBridge.JniLocalHandle
FromReflectedField ( JavaObject field ) : MonoJavaBridge.FieldId
FromReflectedMethod ( MonoJavaBridge.JniLocalHandle methodId ) : MethodId
GetBooleanField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : bool
GetByteField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : byte
GetCharField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : char
GetDirectBufferAddress ( MonoJavaBridge.JniGlobalHandle buf ) : IntPtr
GetDirectBufferCapacity ( MonoJavaBridge.JniGlobalHandle buf ) : long
GetDoubleField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : double
GetFieldID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
GetFieldIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
GetFloatField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : float
GetIntField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : int
GetLongField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : long
GetMethodID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
GetMethodIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
GetObjectClass ( MonoJavaBridge.JniHandle obj ) : MonoJavaBridge.JniLocalHandle
GetShortField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : short
GetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : bool
GetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, IntPtr fieldID ) : bool
GetStaticByteField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : byte
GetStaticCharField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : char
GetStaticDoubleField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : double
GetStaticFieldID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
GetStaticFieldIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
GetStaticFloatField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : float
GetStaticIntField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : int
GetStaticLongField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : long
GetStaticMethodID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
GetStaticMethodIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
GetStaticShortField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : short
GetVersion ( ) : int
JNIEnv ( IntPtr native ) : System
NewDirectByteBuffer ( IntPtr address, long capacity ) : MonoJavaBridge.JniLocalHandle
NewObject ( MonoJavaBridge.JniHandle clazz, MethodId methodID ) : MonoJavaBridge.JniLocalHandle
RegisterNatives ( MonoJavaBridge.JniHandle clazz, JNINativeMethod methods, int nMethods ) : JNIResult
Throw ( JavaException ex ) : void
ThrowNew ( MonoJavaBridge.JniHandle clazz, string message ) : void
ToReflectedField ( MonoJavaBridge.JniHandle cls, MonoJavaBridge.FieldId fieldID, bool isStatic ) : MonoJavaBridge.JniLocalHandle
ToReflectedMethod ( MonoJavaBridge.JniHandle cls, MethodId methodId, bool isStatic ) : MonoJavaBridge.JniLocalHandle
UnregisterNatives ( MonoJavaBridge.JniHandle clazz ) : JNIResult

Private Methods

Méthode Description
AllocObject ( MonoJavaBridge.JniHandle clazz ) : MonoJavaBridge.JniLocalHandle
CallStaticVoidMethod ( MonoJavaBridge.JniHandle clazz, string method, string sig ) : void
DeleteGlobalRef ( MonoJavaBridge.JniGlobalHandle gref ) : void
DeleteLocalRef ( MonoJavaBridge.JniLocalHandle lref ) : void
EnsureLocalCapacity ( int capacity ) : void
GetEnvForVm ( JavaVM vm ) : JNIEnv
GetEnvNoThrow ( JavaVM vm ) : JNIEnv
IsSameObject ( MonoJavaBridge.JniGlobalHandle o1, MonoJavaBridge.JniGlobalHandle o2 ) : bool
NewGlobalRef ( MonoJavaBridge.JniHandle lobj ) : MonoJavaBridge.JniGlobalHandle
NewLocalRef ( MonoJavaBridge.JniHandle lobj ) : MonoJavaBridge.JniLocalHandle
PopLocalFrame ( MonoJavaBridge.JniHandle result ) : MonoJavaBridge.JniLocalHandle
PushLocalFrame ( int capacity ) : void
SetBooleanField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, bool value ) : void
SetByteField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, byte value ) : void
SetCharField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, char value ) : void
SetDoubleField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, double value ) : void
SetFloatField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, float value ) : void
SetIntField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, int value ) : void
SetLongField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, long value ) : void
SetObjectField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, MonoJavaBridge.JniHandle value ) : void
SetShortField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID, short value ) : void
SetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, bool value ) : void
SetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, IntPtr fieldID, bool value ) : void
SetStaticByteField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, byte value ) : void
SetStaticCharField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, char value ) : void
SetStaticDoubleField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, double value ) : void
SetStaticFloatField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, float value ) : void
SetStaticIntField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, int value ) : void
SetStaticLongField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, long value ) : void
SetStaticObjectField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, JavaObject value ) : void
SetStaticShortField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID, short value ) : void
Throw ( MonoJavaBridge.JniHandle ptr ) : void
Wrap ( IntPtr envi ) : JNIEnv

Method Details

CallBooleanMethod() public méthode

public CallBooleanMethod ( JavaObject obj, MethodId methodIdNative ) : bool
obj JavaObject
methodIdNative MethodId
Résultat bool

CallBooleanMethod() public méthode

public CallBooleanMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : bool
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat bool

CallByteMethod() public méthode

public CallByteMethod ( JavaObject obj, MethodId methodIdNative ) : byte
obj JavaObject
methodIdNative MethodId
Résultat byte

CallByteMethod() public méthode

public CallByteMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : byte
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat byte

CallCharMethod() public méthode

public CallCharMethod ( JavaObject obj, MethodId methodIdNative ) : char
obj JavaObject
methodIdNative MethodId
Résultat char

CallCharMethod() public méthode

public CallCharMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : char
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat char

CallDoubleMethod() public méthode

public CallDoubleMethod ( JavaObject obj, MethodId methodIdNative ) : double
obj JavaObject
methodIdNative MethodId
Résultat double

CallDoubleMethod() public méthode

public CallDoubleMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : double
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat double

CallFloatMethod() public méthode

public CallFloatMethod ( JavaObject obj, MethodId methodIdNative ) : float
obj JavaObject
methodIdNative MethodId
Résultat float

CallFloatMethod() public méthode

public CallFloatMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : float
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat float

CallIntMethod() public méthode

public CallIntMethod ( JavaObject obj, MethodId methodIdNative ) : int
obj JavaObject
methodIdNative MethodId
Résultat int

CallIntMethod() public méthode

public CallIntMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : int
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat int

CallLongMethod() public méthode

public CallLongMethod ( JavaObject obj, MethodId methodIdNative ) : long
obj JavaObject
methodIdNative MethodId
Résultat long

CallLongMethod() public méthode

public CallLongMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : long
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat long

CallNonVirtualBooleanMethod() public méthode

public CallNonVirtualBooleanMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat bool

CallNonVirtualBooleanMethod() public méthode

public CallNonVirtualBooleanMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat bool

CallNonVirtualByteMethod() public méthode

public CallNonVirtualByteMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat byte

CallNonVirtualByteMethod() public méthode

public CallNonVirtualByteMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat byte

CallNonVirtualCharMethod() public méthode

public CallNonVirtualCharMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat char

CallNonVirtualCharMethod() public méthode

public CallNonVirtualCharMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat char

CallNonVirtualDoubleMethod() public méthode

public CallNonVirtualDoubleMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat double

CallNonVirtualDoubleMethod() public méthode

public CallNonVirtualDoubleMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat double

CallNonVirtualFloatMethod() public méthode

public CallNonVirtualFloatMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat float

CallNonVirtualFloatMethod() public méthode

public CallNonVirtualFloatMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat float

CallNonVirtualIntMethod() public méthode

public CallNonVirtualIntMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat int

CallNonVirtualIntMethod() public méthode

public CallNonVirtualIntMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat int

CallNonVirtualLongMethod() public méthode

public CallNonVirtualLongMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat long

CallNonVirtualLongMethod() public méthode

public CallNonVirtualLongMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat long

CallNonVirtualObjectMethod() public méthode

public CallNonVirtualObjectMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : IntPtr
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat System.IntPtr

CallNonVirtualObjectMethodPtr() public méthode

public CallNonVirtualObjectMethodPtr ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : IntPtr
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat System.IntPtr

CallNonVirtualShortMethod() public méthode

public CallNonVirtualShortMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat short

CallNonVirtualShortMethod() public méthode

public CallNonVirtualShortMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat short

CallNonVirtualVoidMethod() public méthode

public CallNonVirtualVoidMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat void

CallNonVirtualVoidMethod() public méthode

public CallNonVirtualVoidMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat void

CallShortMethod() public méthode

public CallShortMethod ( JavaObject obj, MethodId methodIdNative ) : short
obj JavaObject
methodIdNative MethodId
Résultat short

CallShortMethod() public méthode

public CallShortMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : short
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat short

CallStaticBooleanMethod() public méthode

public CallStaticBooleanMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat bool

CallStaticByteMethod() public méthode

public CallStaticByteMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat byte

CallStaticCharMethod() public méthode

public CallStaticCharMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat char

CallStaticDoubleMethod() public méthode

public CallStaticDoubleMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat double

CallStaticFloatMethod() public méthode

public CallStaticFloatMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat float

CallStaticIntMethod() public méthode

public CallStaticIntMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat int

CallStaticLongMethod() public méthode

public CallStaticLongMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat long

CallStaticShortMethod() public méthode

public CallStaticShortMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat short

CallStaticVoidMethod() public méthode

public CallStaticVoidMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
Résultat void

CallVoidMethod() public méthode

public CallVoidMethod ( MonoJavaBridge.JniHandle obj, MethodId methodId ) : void
obj MonoJavaBridge.JniHandle
methodId MethodId
Résultat void

ConvertToString() public méthode

public ConvertToString ( MonoJavaBridge.JniHandle javaString ) : string
javaString MonoJavaBridge.JniHandle
Résultat string

ExceptionCheck() public méthode

public ExceptionCheck ( ) : bool
Résultat bool

ExceptionClear() public méthode

public ExceptionClear ( ) : void
Résultat void

ExceptionDescribe() public méthode

public ExceptionDescribe ( ) : void
Résultat void

ExceptionOccurred() public méthode

public ExceptionOccurred ( ) : MonoJavaBridge.JniLocalHandle
Résultat MonoJavaBridge.JniLocalHandle

ExceptionRead() public méthode

public ExceptionRead ( ) : bool
Résultat bool

ExceptionTest() public méthode

public ExceptionTest ( ) : void
Résultat void

FatalError() public méthode

public FatalError ( string message ) : void
message string
Résultat void

FindClass() public méthode

public FindClass ( string name ) : MonoJavaBridge.JniLocalHandle
name string
Résultat MonoJavaBridge.JniLocalHandle

FindClassNoThrow() public méthode

public FindClassNoThrow ( string name ) : MonoJavaBridge.JniLocalHandle
name string
Résultat MonoJavaBridge.JniLocalHandle

FindClassPtr() public méthode

public FindClassPtr ( string name ) : MonoJavaBridge.JniLocalHandle
name string
Résultat MonoJavaBridge.JniLocalHandle

FindClassPtrNoThrow() public méthode

public FindClassPtrNoThrow ( string name ) : MonoJavaBridge.JniLocalHandle
name string
Résultat MonoJavaBridge.JniLocalHandle

FromReflectedField() public méthode

public FromReflectedField ( JavaObject field ) : MonoJavaBridge.FieldId
field JavaObject
Résultat MonoJavaBridge.FieldId

FromReflectedMethod() public méthode

public FromReflectedMethod ( MonoJavaBridge.JniLocalHandle methodId ) : MethodId
methodId MonoJavaBridge.JniLocalHandle
Résultat MethodId

GetBooleanField() public méthode

public GetBooleanField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : bool
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat bool

GetByteField() public méthode

public GetByteField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : byte
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat byte

GetCharField() public méthode

public GetCharField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : char
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat char

GetDirectBufferAddress() public méthode

public GetDirectBufferAddress ( MonoJavaBridge.JniGlobalHandle buf ) : IntPtr
buf MonoJavaBridge.JniGlobalHandle
Résultat System.IntPtr

GetDirectBufferCapacity() public méthode

public GetDirectBufferCapacity ( MonoJavaBridge.JniGlobalHandle buf ) : long
buf MonoJavaBridge.JniGlobalHandle
Résultat long

GetDoubleField() public méthode

public GetDoubleField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : double
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat double

GetFieldID() public méthode

public GetFieldID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MonoJavaBridge.FieldId

GetFieldIDNoThrow() public méthode

public GetFieldIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MonoJavaBridge.FieldId

GetFloatField() public méthode

public GetFloatField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : float
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat float

GetIntField() public méthode

public GetIntField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : int
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat int

GetLongField() public méthode

public GetLongField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : long
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat long

GetMethodID() public méthode

public GetMethodID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MethodId

GetMethodIDNoThrow() public méthode

public GetMethodIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MethodId

GetObjectClass() public méthode

public GetObjectClass ( MonoJavaBridge.JniHandle obj ) : MonoJavaBridge.JniLocalHandle
obj MonoJavaBridge.JniHandle
Résultat MonoJavaBridge.JniLocalHandle

GetShortField() public méthode

public GetShortField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : short
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat short

GetStaticBooleanField() public méthode

public GetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : bool
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat bool

GetStaticBooleanField() public méthode

public GetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, IntPtr fieldID ) : bool
clazz MonoJavaBridge.JniHandle
fieldID System.IntPtr
Résultat bool

GetStaticByteField() public méthode

public GetStaticByteField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : byte
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat byte

GetStaticCharField() public méthode

public GetStaticCharField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : char
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat char

GetStaticDoubleField() public méthode

public GetStaticDoubleField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : double
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat double

GetStaticFieldID() public méthode

public GetStaticFieldID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MonoJavaBridge.FieldId

GetStaticFieldIDNoThrow() public méthode

public GetStaticFieldIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MonoJavaBridge.FieldId

GetStaticFloatField() public méthode

public GetStaticFloatField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : float
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat float

GetStaticIntField() public méthode

public GetStaticIntField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : int
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat int

GetStaticLongField() public méthode

public GetStaticLongField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : long
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat long

GetStaticMethodID() public méthode

public GetStaticMethodID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MethodId

GetStaticMethodIDNoThrow() public méthode

public GetStaticMethodIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
Résultat MethodId

GetStaticShortField() public méthode

public GetStaticShortField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : short
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
Résultat short

GetVersion() public méthode

public GetVersion ( ) : int
Résultat int

JNIEnv() public méthode

public JNIEnv ( IntPtr native ) : System
native System.IntPtr
Résultat System

NewDirectByteBuffer() public méthode

public NewDirectByteBuffer ( IntPtr address, long capacity ) : MonoJavaBridge.JniLocalHandle
address System.IntPtr
capacity long
Résultat MonoJavaBridge.JniLocalHandle

NewObject() public méthode

public NewObject ( MonoJavaBridge.JniHandle clazz, MethodId methodID ) : MonoJavaBridge.JniLocalHandle
clazz MonoJavaBridge.JniHandle
methodID MethodId
Résultat MonoJavaBridge.JniLocalHandle

RegisterNatives() public méthode

public RegisterNatives ( MonoJavaBridge.JniHandle clazz, JNINativeMethod methods, int nMethods ) : JNIResult
clazz MonoJavaBridge.JniHandle
methods JNINativeMethod
nMethods int
Résultat JNIResult

Throw() public méthode

public Throw ( JavaException ex ) : void
ex JavaException
Résultat void

ThrowNew() public méthode

public ThrowNew ( MonoJavaBridge.JniHandle clazz, string message ) : void
clazz MonoJavaBridge.JniHandle
message string
Résultat void

ToReflectedField() public méthode

public ToReflectedField ( MonoJavaBridge.JniHandle cls, MonoJavaBridge.FieldId fieldID, bool isStatic ) : MonoJavaBridge.JniLocalHandle
cls MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
isStatic bool
Résultat MonoJavaBridge.JniLocalHandle

ToReflectedMethod() public méthode

public ToReflectedMethod ( MonoJavaBridge.JniHandle cls, MethodId methodId, bool isStatic ) : MonoJavaBridge.JniLocalHandle
cls MonoJavaBridge.JniHandle
methodId MethodId
isStatic bool
Résultat MonoJavaBridge.JniLocalHandle

UnregisterNatives() public méthode

public UnregisterNatives ( MonoJavaBridge.JniHandle clazz ) : JNIResult
clazz MonoJavaBridge.JniHandle
Résultat JNIResult

Property Details

envPtr public_oe property

public IntPtr,System envPtr
Résultat System.IntPtr