public virtual int DescribeContents() { if (id_describeContents == IntPtr.Zero) { id_describeContents = JNIEnv.GetMethodID(class_ref, "describeContents", "()I"); } if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_describeContents)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "describeContents", "()I"))); } }
protected override unsafe int GetSampleSize(int p0, int p1, int p2, int p3) { if (id_getSampleSize_IIII == IntPtr.Zero) { id_getSampleSize_IIII = JNIEnv.GetMethodID(class_ref, "getSampleSize", "(IIII)I"); } try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); return(JNIEnv.CallIntMethod(Handle, id_getSampleSize_IIII, __args)); } finally { } }
protected virtual int Find() { if (id_find == IntPtr.Zero) { id_find = JNIEnv.GetMethodID(class_ref, "find", "()I"); } if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_find)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "find", "()I"))); } }
protected virtual int Find_prepare(int p0) { if (id_find_prepare_I == IntPtr.Zero) { id_find_prepare_I = JNIEnv.GetMethodID(class_ref, "find_prepare", "(I)I"); } if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_find_prepare_I, new JValue(p0))); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "find_prepare", "(I)I"), new JValue(p0))); } }
public override int Read() { if (id_read == IntPtr.Zero) { id_read = JNIEnv.GetMethodID(class_ref, "read", "()I"); } if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_read)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "read", "()I"))); } }
public override unsafe int CheckVersion(string clientVersion) { if (id_checkVersion_Ljava_lang_String_ == IntPtr.Zero) { id_checkVersion_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "checkVersion", "(Ljava/lang/String;)I"); } IntPtr native_clientVersion = JNIEnv.NewString(clientVersion); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_clientVersion); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_checkVersion_Ljava_lang_String_, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_clientVersion); } }
public unsafe int CompareTo(global::Java.Lang.Object o) { if (id_compareTo_Ljava_lang_Enum_ == IntPtr.Zero) { id_compareTo_Ljava_lang_Enum_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Ljava/lang/Enum;)I"); } IntPtr native_o = JNIEnv.ToLocalJniHandle(o); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_o); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_compareTo_Ljava_lang_Enum_, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_o); } }
public unsafe int GetInteger(string p0) { if (id_getInteger_Ljava_lang_String_ == IntPtr.Zero) { id_getInteger_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "getInteger", "(Ljava/lang/String;)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getInteger_Ljava_lang_String_, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public unsafe int WriteTo(global::System.IO.Stream p0) { if (id_writeTo_Ljava_io_OutputStream_ == IntPtr.Zero) { id_writeTo_Ljava_io_OutputStream_ = JNIEnv.GetMethodID(class_ref, "writeTo", "(Ljava/io/OutputStream;)I"); } IntPtr native_p0 = global::Android.Runtime.OutputStreamAdapter.ToLocalJniHandle(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_writeTo_Ljava_io_OutputStream_, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public virtual unsafe int ImportOfflineData() { if (id_importOfflineData == IntPtr.Zero) { id_importOfflineData = JNIEnv.GetMethodID(class_ref, "importOfflineData", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_importOfflineData)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "importOfflineData", "()I"))); } } finally { } }
public int Send(string p0, byte[] p1, global::Org.Android.Agoo.Net.Channel.IPullHandler p2, global::Com.Umeng.Message.Proguard.AV p3) { if (id_send_Ljava_lang_String_arrayBLorg_android_agoo_net_channel_IPullHandler_Lcom_umeng_message_proguard_aV_ == IntPtr.Zero) { id_send_Ljava_lang_String_arrayBLorg_android_agoo_net_channel_IPullHandler_Lcom_umeng_message_proguard_aV_ = JNIEnv.GetMethodID(class_ref, "send", "(Ljava/lang/String;[BLorg/android/agoo/net/channel/IPullHandler;Lcom/umeng/message/proguard/aV;)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewArray(p1); int __ret = JNIEnv.CallIntMethod(Handle, id_send_Ljava_lang_String_arrayBLorg_android_agoo_net_channel_IPullHandler_Lcom_umeng_message_proguard_aV_, new JValue(native_p0), new JValue(native_p1), new JValue(p2), new JValue(p3)); JNIEnv.DeleteLocalRef(native_p0); if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } return(__ret); }
public virtual unsafe int ComputeCuesSize() { if (id_computeCuesSize == IntPtr.Zero) { id_computeCuesSize = JNIEnv.GetMethodID(class_ref, "computeCuesSize", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_computeCuesSize)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "computeCuesSize", "()I"))); } } finally { } }
public virtual unsafe int FindLastVisibleItemPosition() { if (id_findLastVisibleItemPosition == IntPtr.Zero) { id_findLastVisibleItemPosition = JNIEnv.GetMethodID(class_ref, "findLastVisibleItemPosition", "()I"); } try { if (((object)this).GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_findLastVisibleItemPosition)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "findLastVisibleItemPosition", "()I"))); } } finally { } }
public unsafe int SetParameter(string p0, string p1) { if (id_setParameter_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero) { id_setParameter_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "setParameter", "(Ljava/lang/String;Ljava/lang/String;)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); var __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_setParameter_Ljava_lang_String_Ljava_lang_String_, __args); JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); return(__ret); }
public int Check(string p0, byte[] p1) { if (id_check_Ljava_lang_String_arrayB == IntPtr.Zero) { id_check_Ljava_lang_String_arrayB = JNIEnv.GetMethodID(class_ref, "check", "(Ljava/lang/String;[B)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewArray(p1); int __ret = JNIEnv.CallIntMethod(Handle, id_check_Ljava_lang_String_arrayB, new JValue(native_p0), new JValue(native_p1)); JNIEnv.DeleteLocalRef(native_p0); if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } return(__ret); }
public virtual unsafe int DescribeContents() { if (id_describeContents == IntPtr.Zero) { id_describeContents = JNIEnv.GetMethodID(class_ref, "describeContents", "()I"); } try { if (((object)this).GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_describeContents)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "describeContents", "()I"))); } } finally { } }
public virtual unsafe int SpdyErrorGetCode() { if (id_SpdyErrorGetCode == IntPtr.Zero) { id_SpdyErrorGetCode = JNIEnv.GetMethodID(class_ref, "SpdyErrorGetCode", "()I"); } try { if (((object)this).GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Throwable) this).Handle, id_SpdyErrorGetCode)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Throwable) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "SpdyErrorGetCode", "()I"))); } } finally { } }
public override unsafe int Read() { if (id_read == IntPtr.Zero) { id_read = JNIEnv.GetMethodID(class_ref, "read", "()I"); } try { if (((object)this).GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_read)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "read", "()I"))); } } finally { } }
public virtual unsafe int Available() { if (id_available == IntPtr.Zero) { id_available = JNIEnv.GetMethodID(class_ref, "available", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_available)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "available", "()I"))); } } finally { } }
public virtual unsafe int Readstatus() { if (id_readstatus == IntPtr.Zero) { id_readstatus = JNIEnv.GetMethodID(class_ref, "readstatus", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_readstatus)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "readstatus", "()I"))); } } finally { } }
public virtual unsafe int TotalCount() { if (id_totalCount == IntPtr.Zero) { id_totalCount = JNIEnv.GetMethodID(class_ref, "totalCount", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_totalCount)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "totalCount", "()I"))); } } finally { } }
public virtual unsafe int ObsoleteMethod() { if (id_ObsoleteMethod == IntPtr.Zero) { id_ObsoleteMethod = JNIEnv.GetMethodID(class_ref, "ObsoleteMethod", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_ObsoleteMethod)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "ObsoleteMethod", "()I"))); } } finally { } }
public virtual unsafe int GetOrigin() { if (id_getOrigin == IntPtr.Zero) { id_getOrigin = JNIEnv.GetMethodID(class_ref, "getOrigin", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_getOrigin)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getOrigin", "()I"))); } } finally { } }
public unsafe int AddMessageToCounter(string p0, global::Com.Liveperson.Infra.Model.PushMessage p1) { if (id_addMessageToCounter_Ljava_lang_String_Lcom_liveperson_infra_model_PushMessage_ == IntPtr.Zero) { id_addMessageToCounter_Ljava_lang_String_Lcom_liveperson_infra_model_PushMessage_ = JNIEnv.GetMethodID(class_ref, "addMessageToCounter", "(Ljava/lang/String;Lcom/liveperson/infra/model/PushMessage;)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_addMessageToCounter_Ljava_lang_String_Lcom_liveperson_infra_model_PushMessage_, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public unsafe int Read(byte[] p0) { if (id_read_arrayB == IntPtr.Zero) { id_read_arrayB = JNIEnv.GetMethodID(class_ref, "read", "([B)I"); } IntPtr native_p0 = JNIEnv.NewArray(p0); JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_read_arrayB, __args); if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } return(__ret); }
protected virtual int GetLegendSize(global::Org.Achartengine.Renderer.DefaultRenderer p0, int p1, float p2) { if (id_getLegendSize_Lorg_achartengine_renderer_DefaultRenderer_IF == IntPtr.Zero) { id_getLegendSize_Lorg_achartengine_renderer_DefaultRenderer_IF = JNIEnv.GetMethodID(class_ref, "getLegendSize", "(Lorg/achartengine/renderer/DefaultRenderer;IF)I"); } int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_getLegendSize_Lorg_achartengine_renderer_DefaultRenderer_IF, new JValue(p0), new JValue(p1), new JValue(p2)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getLegendSize", "(Lorg/achartengine/renderer/DefaultRenderer;IF)I"), new JValue(p0), new JValue(p1), new JValue(p2)); } return(__ret); }
public virtual int CompareTo(global::Javax.Jmdns.Impl.DNSEntry p0) { if (id_compareTo_Ljavax_jmdns_impl_DNSEntry_ == IntPtr.Zero) { id_compareTo_Ljavax_jmdns_impl_DNSEntry_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Ljavax/jmdns/impl/DNSEntry;)I"); } int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_compareTo_Ljavax_jmdns_impl_DNSEntry_, new JValue(p0)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, id_compareTo_Ljavax_jmdns_impl_DNSEntry_, new JValue(p0)); } return(__ret); }
public virtual int GetImageIndex(global::Com.Android.Camera.Gallery.IImage p0) { if (id_getImageIndex_Lcom_android_camera_gallery_IImage_ == IntPtr.Zero) { id_getImageIndex_Lcom_android_camera_gallery_IImage_ = JNIEnv.GetMethodID(class_ref, "getImageIndex", "(Lcom/android/camera/gallery/IImage;)I"); } int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_getImageIndex_Lcom_android_camera_gallery_IImage_, new JValue(p0)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getImageIndex", "(Lcom/android/camera/gallery/IImage;)I"), new JValue(p0)); } return(__ret); }
public unsafe int ConfigLogFile(string p0, int p1, int p2) { if (id_configLogFile_Ljava_lang_String_II == IntPtr.Zero) { id_configLogFile_Ljava_lang_String_II = JNIEnv.GetMethodID(class_ref, "configLogFile", "(Ljava/lang/String;II)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_configLogFile_Ljava_lang_String_II, __args); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public virtual int Compare(global::Java.Lang.Object p0, global::Java.Lang.Object p1) { if (id_compare_Ljava_lang_Object_Ljava_lang_Object_ == IntPtr.Zero) { id_compare_Ljava_lang_Object_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "compare", "(Ljava/lang/Object;Ljava/lang/Object;)I"); } int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_compare_Ljava_lang_Object_Ljava_lang_Object_, new JValue(p0), new JValue(p1)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compare", "(Ljava/lang/Object;Ljava/lang/Object;)I"), new JValue(p0), new JValue(p1)); } return(__ret); }