public FieldId FromReflectedField(JavaObject field) { IntPtr res = fromReflectedField.Invoke(envPtr, field.mJvmHandle); ExceptionTest(); return(new FieldId(res)); }
public bool CallBooleanMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { bool res = callBooleanMethod(envPtr, obj.JvmHandle, methodIdNative.native, args) != 0; ExceptionTest(); return(res); }
public double CallDoubleMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { double res = callDoubleMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return(res); }
public long CallLongMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { long res = callLongMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return(res); }
public char CallCharMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { var res = (char)callCharMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return(res); }
public float CallFloatMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { float res = callFloatMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return(res); }
public long GetLongField(JavaObject obj, FieldId fieldID) { long res = getLongField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return(res); }
public bool GetBooleanField(JavaObject obj, FieldId fieldID) { bool res = getBooleanField(envPtr, obj.JvmHandle, fieldID.native) != 0; ExceptionTest(); return(res); }
public double GetDoubleField(JavaObject obj, FieldId fieldID) { double res = getDoubleField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return(res); }
public float GetFloatField(JavaObject obj, FieldId fieldID) { float res = getFloatField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return(res); }
public char GetCharField(JavaObject obj, FieldId fieldID) { var res = (char)getCharField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return(res); }
public double CallNonVirtualDoubleMethod(JavaObject obj, JniHandle clazz, MethodId methodIdNative, params Value[] args) { var res = callNonvirtualDoubleMethod(envPtr, obj.JvmHandle, clazz, methodIdNative.native, args); ExceptionTest(); return(res); }
public short GetShortField(JavaObject obj, FieldId fieldID) { short res = getShortField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return(res); }
public static Value ConvertToValue(JavaObject o) { if (o == null) { return(Value.Null); } Value ret = new Value(); ret._object = o.mJvmHandle; return(ret); }
internal void SetStaticObjectField(JniHandle clazz, FieldId fieldID, JavaObject value) { setStaticObjectField(envPtr, clazz, fieldID.native, value.JvmHandle); ExceptionTest(); }
internal void SetDoubleField(JavaObject obj, FieldId fieldID, double value) { setDoubleField(envPtr, obj.JvmHandle, fieldID.native, value); ExceptionTest(); }
public FieldId FromReflectedField(JavaObject field) { IntPtr res = fromReflectedField.Invoke(envPtr, field.mJvmHandle); ExceptionTest(); return new FieldId(res); }
public void CallNonVirtualVoidMethod(JavaObject obj, JniHandle clazz, MethodId methodIdNative, params Value[] args) { callNonvirtualVoidMethod(envPtr, obj.JvmHandle, clazz, methodIdNative.native, args); ExceptionTest(); }
public char CallCharMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { var res = (char)callCharMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return res; }
public double GetDoubleField(JavaObject obj, FieldId fieldID) { double res = getDoubleField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return res; }
public int GetIntField(JavaObject obj, FieldId fieldID) { return(GetIntField(obj.JvmHandle, fieldID)); }
public float GetFloatField(JavaObject obj, FieldId fieldID) { float res = getFloatField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return res; }
public byte GetByteField(JavaObject obj, FieldId fieldID) { byte res = getByteField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return res; }
public char GetCharField(JavaObject obj, FieldId fieldID) { var res = (char) getCharField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return res; }
internal void SetBooleanField(JavaObject obj, FieldId fieldID, bool value) { setBooleanField(envPtr, obj.JvmHandle, fieldID.native, value ? (byte) 1 : (byte) 0); ExceptionTest(); }
internal void SetFloatField(JavaObject obj, FieldId fieldID, float value) { setFloatField(envPtr, obj.JvmHandle, fieldID.native, value); ExceptionTest(); }
public long CallLongMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { long res = callLongMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return res; }
public int GetIntField(JavaObject obj, FieldId fieldID) { return GetIntField(obj.JvmHandle, fieldID); }
public short CallNonVirtualShortMethod(JavaObject obj, JniHandle clazz, MethodId methodIdNative, params Value[] args) { var res = callNonvirtualShortMethod(envPtr, obj.JvmHandle, clazz, methodIdNative.native, args); ExceptionTest(); return res; }
public long GetLongField(JavaObject obj, FieldId fieldID) { long res = getLongField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return res; }
public bool CallBooleanMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { bool res = callBooleanMethod(envPtr, obj.JvmHandle, methodIdNative.native, args) != 0; ExceptionTest(); return res; }
public short GetShortField(JavaObject obj, FieldId fieldID) { short res = getShortField(envPtr, obj.JvmHandle, fieldID.native); ExceptionTest(); return res; }
public double CallDoubleMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { double res = callDoubleMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return res; }
internal void SetBooleanField(JavaObject obj, FieldId fieldID, bool value) { setBooleanField(envPtr, obj.JvmHandle, fieldID.native, value ? (byte)1 : (byte)0); ExceptionTest(); }
public float CallFloatMethod(JavaObject obj, MethodId methodIdNative, params Value[] args) { float res = callFloatMethod(envPtr, obj.JvmHandle, methodIdNative.native, args); ExceptionTest(); return res; }
public bool GetBooleanField(JavaObject obj, FieldId fieldID) { bool res = getBooleanField(envPtr, obj.JvmHandle, fieldID.native) != 0; ExceptionTest(); return res; }