public JavaObject ObjectInvoke(JavaObject _obj, params object[] paramlist) { int objid = env.CallObjectMethod(_obj.GetID(), id, ToJNIObjects(paramlist)); if (objid <= 0) { return(JavaObject.nullobject); } JavaClass returntypeclass = new JavaClass(env, returntype); return(new JavaObject(env, returntypeclass, objid)); }
public JavaObject GetObjectValue(JavaObject _obj, JavaClass valclass) { int objid = env.GetObjectField(_obj.GetID(), id); if (objid <= 0) { return(null); } JavaObject obj = new JavaObject(env, valclass, objid); return(obj); }
public float FloatInvoke(JavaObject _obj, params object[] paramlist) { return(env.CallFloatMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public char CharInvoke(JavaObject _obj, params object[] paramlist) { return(env.CallCharMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public bool BooleanInvoke(JavaObject _obj, params object[] paramlist) { return(env.CallBooleanMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public byte ByteInvoke(JavaObject _obj, params object[] paramlist) { return((byte)env.CallByteMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public short ShortInvoke(JavaObject _obj, params object[] paramlist) { return(env.CallShortMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public long LongInvoke(JavaObject _obj, params object[] paramlist) { return(env.CallLongMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public long GetLongValue(JavaObject _obj) { return(env.GetLongField(_obj.GetID(), id)); }
public short GetShortValue(JavaObject _obj) { return(env.GetShortField(_obj.GetID(), id)); }
public char GetCharValue(JavaObject _obj) { return(env.GetCharField(_obj.GetID(), id)); }
public byte GetByteValue(JavaObject _obj) { return((byte)env.GetByteField(_obj.GetID(), id)); }
public bool GetBooleanValue(JavaObject _obj) { return(env.GetBooleanField(_obj.GetID(), id)); }
public double GetDoubleValue(JavaObject _obj) { return(env.GetDoubleField(_obj.GetID(), id)); }
public float GetFloatValue(JavaObject _obj) { return(env.GetFloatField(_obj.GetID(), id)); }
public double DoubleInvoke(JavaObject _obj, params object[] paramlist) { return(env.CallDoubleMethod(_obj.GetID(), id, ToJNIObjects(paramlist))); }
public void VoidInvoke(JavaObject _obj, params object[] paramlist) { env.CallVoidMethod(_obj.GetID(), id, ToJNIObjects(paramlist)); }
public int GetIntValue(JavaObject _obj) { return(env.GetIntField(_obj.GetID(), id)); }