C# Class MonoJavaBridge.JNIEnv

Show file Open project: JeroMiya/androidmono Class Usage Examples

Public Properties

Property Type Description
envPtr System.IntPtr

Public Methods

Method 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

Method 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 method

public CallBooleanMethod ( JavaObject obj, MethodId methodIdNative ) : bool
obj JavaObject
methodIdNative MethodId
return bool

CallBooleanMethod() public method

public CallBooleanMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : bool
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return bool

CallByteMethod() public method

public CallByteMethod ( JavaObject obj, MethodId methodIdNative ) : byte
obj JavaObject
methodIdNative MethodId
return byte

CallByteMethod() public method

public CallByteMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : byte
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return byte

CallCharMethod() public method

public CallCharMethod ( JavaObject obj, MethodId methodIdNative ) : char
obj JavaObject
methodIdNative MethodId
return char

CallCharMethod() public method

public CallCharMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : char
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return char

CallDoubleMethod() public method

public CallDoubleMethod ( JavaObject obj, MethodId methodIdNative ) : double
obj JavaObject
methodIdNative MethodId
return double

CallDoubleMethod() public method

public CallDoubleMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : double
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return double

CallFloatMethod() public method

public CallFloatMethod ( JavaObject obj, MethodId methodIdNative ) : float
obj JavaObject
methodIdNative MethodId
return float

CallFloatMethod() public method

public CallFloatMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : float
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return float

CallIntMethod() public method

public CallIntMethod ( JavaObject obj, MethodId methodIdNative ) : int
obj JavaObject
methodIdNative MethodId
return int

CallIntMethod() public method

public CallIntMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : int
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return int

CallLongMethod() public method

public CallLongMethod ( JavaObject obj, MethodId methodIdNative ) : long
obj JavaObject
methodIdNative MethodId
return long

CallLongMethod() public method

public CallLongMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : long
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return long

CallNonVirtualBooleanMethod() public method

public CallNonVirtualBooleanMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return bool

CallNonVirtualBooleanMethod() public method

public CallNonVirtualBooleanMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return bool

CallNonVirtualByteMethod() public method

public CallNonVirtualByteMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return byte

CallNonVirtualByteMethod() public method

public CallNonVirtualByteMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return byte

CallNonVirtualCharMethod() public method

public CallNonVirtualCharMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return char

CallNonVirtualCharMethod() public method

public CallNonVirtualCharMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return char

CallNonVirtualDoubleMethod() public method

public CallNonVirtualDoubleMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return double

CallNonVirtualDoubleMethod() public method

public CallNonVirtualDoubleMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return double

CallNonVirtualFloatMethod() public method

public CallNonVirtualFloatMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return float

CallNonVirtualFloatMethod() public method

public CallNonVirtualFloatMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return float

CallNonVirtualIntMethod() public method

public CallNonVirtualIntMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return int

CallNonVirtualIntMethod() public method

public CallNonVirtualIntMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return int

CallNonVirtualLongMethod() public method

public CallNonVirtualLongMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return long

CallNonVirtualLongMethod() public method

public CallNonVirtualLongMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return long

CallNonVirtualObjectMethod() public method

public CallNonVirtualObjectMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : IntPtr
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return System.IntPtr

CallNonVirtualObjectMethodPtr() public method

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

CallNonVirtualShortMethod() public method

public CallNonVirtualShortMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return short

CallNonVirtualShortMethod() public method

public CallNonVirtualShortMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return short

CallNonVirtualVoidMethod() public method

public CallNonVirtualVoidMethod ( JavaObject obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
obj JavaObject
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return void

CallNonVirtualVoidMethod() public method

public CallNonVirtualVoidMethod ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
obj MonoJavaBridge.JniHandle
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return void

CallShortMethod() public method

public CallShortMethod ( JavaObject obj, MethodId methodIdNative ) : short
obj JavaObject
methodIdNative MethodId
return short

CallShortMethod() public method

public CallShortMethod ( MonoJavaBridge.JniHandle obj, MethodId methodIdNative ) : short
obj MonoJavaBridge.JniHandle
methodIdNative MethodId
return short

CallStaticBooleanMethod() public method

public CallStaticBooleanMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : bool
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return bool

CallStaticByteMethod() public method

public CallStaticByteMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : byte
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return byte

CallStaticCharMethod() public method

public CallStaticCharMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : char
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return char

CallStaticDoubleMethod() public method

public CallStaticDoubleMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : double
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return double

CallStaticFloatMethod() public method

public CallStaticFloatMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : float
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return float

CallStaticIntMethod() public method

public CallStaticIntMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : int
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return int

CallStaticLongMethod() public method

public CallStaticLongMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : long
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return long

CallStaticShortMethod() public method

public CallStaticShortMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : short
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return short

CallStaticVoidMethod() public method

public CallStaticVoidMethod ( MonoJavaBridge.JniHandle clazz, MethodId methodIdNative ) : void
clazz MonoJavaBridge.JniHandle
methodIdNative MethodId
return void

CallVoidMethod() public method

public CallVoidMethod ( MonoJavaBridge.JniHandle obj, MethodId methodId ) : void
obj MonoJavaBridge.JniHandle
methodId MethodId
return void

ConvertToString() public method

public ConvertToString ( MonoJavaBridge.JniHandle javaString ) : string
javaString MonoJavaBridge.JniHandle
return string

ExceptionCheck() public method

public ExceptionCheck ( ) : bool
return bool

ExceptionClear() public method

public ExceptionClear ( ) : void
return void

ExceptionDescribe() public method

public ExceptionDescribe ( ) : void
return void

ExceptionOccurred() public method

public ExceptionOccurred ( ) : MonoJavaBridge.JniLocalHandle
return MonoJavaBridge.JniLocalHandle

ExceptionRead() public method

public ExceptionRead ( ) : bool
return bool

ExceptionTest() public method

public ExceptionTest ( ) : void
return void

FatalError() public method

public FatalError ( string message ) : void
message string
return void

FindClass() public method

public FindClass ( string name ) : MonoJavaBridge.JniLocalHandle
name string
return MonoJavaBridge.JniLocalHandle

FindClassNoThrow() public method

public FindClassNoThrow ( string name ) : MonoJavaBridge.JniLocalHandle
name string
return MonoJavaBridge.JniLocalHandle

FindClassPtr() public method

public FindClassPtr ( string name ) : MonoJavaBridge.JniLocalHandle
name string
return MonoJavaBridge.JniLocalHandle

FindClassPtrNoThrow() public method

public FindClassPtrNoThrow ( string name ) : MonoJavaBridge.JniLocalHandle
name string
return MonoJavaBridge.JniLocalHandle

FromReflectedField() public method

public FromReflectedField ( JavaObject field ) : MonoJavaBridge.FieldId
field JavaObject
return MonoJavaBridge.FieldId

FromReflectedMethod() public method

public FromReflectedMethod ( MonoJavaBridge.JniLocalHandle methodId ) : MethodId
methodId MonoJavaBridge.JniLocalHandle
return MethodId

GetBooleanField() public method

public GetBooleanField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : bool
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return bool

GetByteField() public method

public GetByteField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : byte
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return byte

GetCharField() public method

public GetCharField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : char
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return char

GetDirectBufferAddress() public method

public GetDirectBufferAddress ( MonoJavaBridge.JniGlobalHandle buf ) : IntPtr
buf MonoJavaBridge.JniGlobalHandle
return System.IntPtr

GetDirectBufferCapacity() public method

public GetDirectBufferCapacity ( MonoJavaBridge.JniGlobalHandle buf ) : long
buf MonoJavaBridge.JniGlobalHandle
return long

GetDoubleField() public method

public GetDoubleField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : double
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return double

GetFieldID() public method

public GetFieldID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MonoJavaBridge.FieldId

GetFieldIDNoThrow() public method

public GetFieldIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MonoJavaBridge.FieldId

GetFloatField() public method

public GetFloatField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : float
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return float

GetIntField() public method

public GetIntField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : int
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return int

GetLongField() public method

public GetLongField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : long
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return long

GetMethodID() public method

public GetMethodID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MethodId

GetMethodIDNoThrow() public method

public GetMethodIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MethodId

GetObjectClass() public method

public GetObjectClass ( MonoJavaBridge.JniHandle obj ) : MonoJavaBridge.JniLocalHandle
obj MonoJavaBridge.JniHandle
return MonoJavaBridge.JniLocalHandle

GetShortField() public method

public GetShortField ( MonoJavaBridge.JniHandle obj, MonoJavaBridge.FieldId fieldID ) : short
obj MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return short

GetStaticBooleanField() public method

public GetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : bool
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return bool

GetStaticBooleanField() public method

public GetStaticBooleanField ( MonoJavaBridge.JniHandle clazz, IntPtr fieldID ) : bool
clazz MonoJavaBridge.JniHandle
fieldID System.IntPtr
return bool

GetStaticByteField() public method

public GetStaticByteField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : byte
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return byte

GetStaticCharField() public method

public GetStaticCharField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : char
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return char

GetStaticDoubleField() public method

public GetStaticDoubleField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : double
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return double

GetStaticFieldID() public method

public GetStaticFieldID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MonoJavaBridge.FieldId

GetStaticFieldIDNoThrow() public method

public GetStaticFieldIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MonoJavaBridge.FieldId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MonoJavaBridge.FieldId

GetStaticFloatField() public method

public GetStaticFloatField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : float
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return float

GetStaticIntField() public method

public GetStaticIntField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : int
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return int

GetStaticLongField() public method

public GetStaticLongField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : long
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return long

GetStaticMethodID() public method

public GetStaticMethodID ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MethodId

GetStaticMethodIDNoThrow() public method

public GetStaticMethodIDNoThrow ( MonoJavaBridge.JniHandle clazz, string name, string sig ) : MethodId
clazz MonoJavaBridge.JniHandle
name string
sig string
return MethodId

GetStaticShortField() public method

public GetStaticShortField ( MonoJavaBridge.JniHandle clazz, MonoJavaBridge.FieldId fieldID ) : short
clazz MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
return short

GetVersion() public method

public GetVersion ( ) : int
return int

JNIEnv() public method

public JNIEnv ( IntPtr native ) : System
native System.IntPtr
return System

NewDirectByteBuffer() public method

public NewDirectByteBuffer ( IntPtr address, long capacity ) : MonoJavaBridge.JniLocalHandle
address System.IntPtr
capacity long
return MonoJavaBridge.JniLocalHandle

NewObject() public method

public NewObject ( MonoJavaBridge.JniHandle clazz, MethodId methodID ) : MonoJavaBridge.JniLocalHandle
clazz MonoJavaBridge.JniHandle
methodID MethodId
return MonoJavaBridge.JniLocalHandle

RegisterNatives() public method

public RegisterNatives ( MonoJavaBridge.JniHandle clazz, JNINativeMethod methods, int nMethods ) : JNIResult
clazz MonoJavaBridge.JniHandle
methods JNINativeMethod
nMethods int
return JNIResult

Throw() public method

public Throw ( JavaException ex ) : void
ex JavaException
return void

ThrowNew() public method

public ThrowNew ( MonoJavaBridge.JniHandle clazz, string message ) : void
clazz MonoJavaBridge.JniHandle
message string
return void

ToReflectedField() public method

public ToReflectedField ( MonoJavaBridge.JniHandle cls, MonoJavaBridge.FieldId fieldID, bool isStatic ) : MonoJavaBridge.JniLocalHandle
cls MonoJavaBridge.JniHandle
fieldID MonoJavaBridge.FieldId
isStatic bool
return MonoJavaBridge.JniLocalHandle

ToReflectedMethod() public method

public ToReflectedMethod ( MonoJavaBridge.JniHandle cls, MethodId methodId, bool isStatic ) : MonoJavaBridge.JniLocalHandle
cls MonoJavaBridge.JniHandle
methodId MethodId
isStatic bool
return MonoJavaBridge.JniLocalHandle

UnregisterNatives() public method

public UnregisterNatives ( MonoJavaBridge.JniHandle clazz ) : JNIResult
clazz MonoJavaBridge.JniHandle
return JNIResult

Property Details

envPtr public property

public IntPtr,System envPtr
return System.IntPtr