protected virtual unsafe int Sp2px(float p0) { if (id_sp2px_F == IntPtr.Zero) { id_sp2px_F = JNIEnv.GetMethodID(class_ref, "sp2px", "(F)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_sp2px_F, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "sp2px", "(F)I"), __args)); } } finally { } }
public virtual unsafe int ImportOfflineData(bool p0) { if (id_importOfflineData_Z == IntPtr.Zero) { id_importOfflineData_Z = JNIEnv.GetMethodID(class_ref, "importOfflineData", "(Z)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_importOfflineData_Z, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "importOfflineData", "(Z)I"), __args)); } } finally { } }
public virtual unsafe int Release(long p0) { if (id_Release_J == IntPtr.Zero) { id_Release_J = JNIEnv.GetMethodID(class_ref, "Release", "(J)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_Release_J, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "Release", "(J)I"), __args)); } } finally { } }
public virtual int GetIndexForKey(global::Java.Lang.Object p0) { if (id_getIndexForKey_Ljava_lang_Object_ == IntPtr.Zero) { id_getIndexForKey_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "getIndexForKey", "(Ljava/lang/Object;)I"); } IntPtr native_p0 = JNIEnv.ToLocalJniHandle(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_getIndexForKey_Ljava_lang_Object_, new JValue(native_p0)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getIndexForKey", "(Ljava/lang/Object;)I"), new JValue(native_p0)); } JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public virtual unsafe int GetInt32(int p0) { if (id_getInt32_I == IntPtr.Zero) { id_getInt32_I = JNIEnv.GetMethodID(class_ref, "getInt32", "(I)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_getInt32_I, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getInt32", "(I)I"), __args)); } } finally { } }
public virtual int RemoveFields(string p0) { if (id_removeFields_Ljava_lang_String_ == IntPtr.Zero) { id_removeFields_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "removeFields", "(Ljava/lang/String;)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_removeFields_Ljava_lang_String_, new JValue(native_p0)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removeFields", "(Ljava/lang/String;)I"), new JValue(native_p0)); } JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
private unsafe int GetSocketTimeout() { if (id_getSocketTimeout == IntPtr.Zero) { id_getSocketTimeout = JNIEnv.GetMethodID(class_ref, "getSocketTimeout", "()I"); } try { if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_getSocketTimeout)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSocketTimeout", "()I"))); } } finally { } }
public virtual unsafe int ReadNBit(int p0) { if (id_readNBit_I == IntPtr.Zero) { id_readNBit_I = JNIEnv.GetMethodID(class_ref, "readNBit", "(I)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_readNBit_I, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "readNBit", "(I)I"), __args)); } } finally { } }
protected virtual int GetManeuverCode(string p0) { if (id_getManeuverCode_Ljava_lang_String_ == IntPtr.Zero) { id_getManeuverCode_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "getManeuverCode", "(Ljava/lang/String;)I"); } IntPtr native_p0 = JNIEnv.NewString(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_getManeuverCode_Ljava_lang_String_, new JValue(native_p0)); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getManeuverCode", "(Ljava/lang/String;)I"), new JValue(native_p0)); } JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public virtual unsafe int GetLastSegmentNum(long p0) { if (id_getLastSegmentNum_J == IntPtr.Zero) { id_getLastSegmentNum_J = JNIEnv.GetMethodID(class_ref, "getLastSegmentNum", "(J)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getLastSegmentNum_J, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getLastSegmentNum", "(J)I"), __args)); } } finally { } }
public virtual unsafe int FindHeaderPositionUnder(int p0, int p1) { if (id_findHeaderPositionUnder_II == IntPtr.Zero) { id_findHeaderPositionUnder_II = JNIEnv.GetMethodID(class_ref, "findHeaderPositionUnder", "(II)I"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_findHeaderPositionUnder_II, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "findHeaderPositionUnder", "(II)I"), __args)); } } finally { } }
public virtual unsafe int SetCardType(int p0, int p1) { if (id_SetCardType_II == IntPtr.Zero) { id_SetCardType_II = JNIEnv.GetMethodID(class_ref, "SetCardType", "(II)I"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(Handle, id_SetCardType_II, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "SetCardType", "(II)I"), __args)); } } finally { } }
protected virtual unsafe int GetPix2(int[] p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8, int p9) { if (id_getPix2_arrayIIIIIIIIII == IntPtr.Zero) { id_getPix2_arrayIIIIIIIIII = JNIEnv.GetMethodID(class_ref, "getPix2", "([IIIIIIIIII)I"); } IntPtr native_p0 = JNIEnv.NewArray(p0); try { JValue *__args = stackalloc JValue [10]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); __args [5] = new JValue(p5); __args [6] = new JValue(p6); __args [7] = new JValue(p7); __args [8] = new JValue(p8); __args [9] = new JValue(p9); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getPix2_arrayIIIIIIIIII, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getPix2", "([IIIIIIIIII)I"), __args); } return(__ret); } finally { if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } } }
protected override unsafe int GetFrameSize(int p0, int p1) { if (id_getFrameSize_II == IntPtr.Zero) { id_getFrameSize_II = JNIEnv.GetMethodID(class_ref, "getFrameSize", "(II)I"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { return(JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getFrameSize_II, __args)); } else { return(JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getFrameSize", "(II)I"), __args)); } } finally { } }
public virtual unsafe int SendCommand(int p0, byte[] p1, byte[] p2) { if (id_SendCommand_IarrayBarrayB == IntPtr.Zero) { id_SendCommand_IarrayBarrayB = JNIEnv.GetMethodID(class_ref, "SendCommand", "(I[B[B)I"); } IntPtr native_p1 = JNIEnv.NewArray(p1); IntPtr native_p2 = JNIEnv.NewArray(p2); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_SendCommand_IarrayBarrayB, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "SendCommand", "(I[B[B)I"), __args); } return(__ret); } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } if (p2 != null) { JNIEnv.CopyArray(native_p2, p2); JNIEnv.DeleteLocalRef(native_p2); } } }
public virtual unsafe int ReadTreeSkip(int[] p0, int[] p1, int p2) { if (id_readTreeSkip_arrayIarrayII == IntPtr.Zero) { id_readTreeSkip_arrayIarrayII = JNIEnv.GetMethodID(class_ref, "readTreeSkip", "([I[II)I"); } IntPtr native_p0 = JNIEnv.NewArray(p0); IntPtr native_p1 = JNIEnv.NewArray(p1); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_readTreeSkip_arrayIarrayII, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "readTreeSkip", "([I[II)I"), __args); } return(__ret); } finally { if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } } }
public virtual unsafe int CompareTo(global::Com.Amazon.Clouddrive.Model.ICloudDriveResponse p0) { if (id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_ == IntPtr.Zero) { id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Lcom/amazon/clouddrive/model/CloudDriveResponse;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_compareTo_Lcom_amazon_clouddrive_model_CloudDriveResponse_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compareTo", "(Lcom/amazon/clouddrive/model/CloudDriveResponse;)I"), __args); } return(__ret); } finally { } }
public override unsafe Android.Text.SpanTypes GetSpanFlags(Java.Lang.Object what) { if (id_getSpanFlags_Ljava_lang_Object_ == IntPtr.Zero) { id_getSpanFlags_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "getSpanFlags", "(Ljava/lang/Object;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(what); Android.Text.SpanTypes __ret; if (((object)this).GetType() == ThresholdType) { __ret = (Android.Text.SpanTypes)JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getSpanFlags_Ljava_lang_Object_, __args); } else { __ret = (Android.Text.SpanTypes)JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSpanFlags", "(Ljava/lang/Object;)I"), __args); } return(__ret); } finally { } }
protected override unsafe int GetSize(global::Android.Graphics.Bitmap p0) { if (id_getSize_Landroid_graphics_Bitmap_ == IntPtr.Zero) { id_getSize_Landroid_graphics_Bitmap_ = JNIEnv.GetMethodID(class_ref, "getSize", "(Landroid/graphics/Bitmap;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getSize_Landroid_graphics_Bitmap_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSize", "(Landroid/graphics/Bitmap;)I"), __args); } return(__ret); } finally { } }
protected virtual unsafe int SelectScaleFactor(global::Org.Jcodec.Common.Model.Size p0) { if (id_selectScaleFactor_Lorg_jcodec_common_model_Size_ == IntPtr.Zero) { id_selectScaleFactor_Lorg_jcodec_common_model_Size_ = JNIEnv.GetMethodID(class_ref, "selectScaleFactor", "(Lorg/jcodec/common/model/Size;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_selectScaleFactor_Lorg_jcodec_common_model_Size_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "selectScaleFactor", "(Lorg/jcodec/common/model/Size;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int Decode(global::Org.Jcodec.Codecs.Common.Biari.Context p0) { if (id_decode_Lorg_jcodec_codecs_common_biari_Context_ == IntPtr.Zero) { id_decode_Lorg_jcodec_codecs_common_biari_Context_ = JNIEnv.GetMethodID(class_ref, "decode", "(Lorg/jcodec/codecs/common/biari/Context;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_decode_Lorg_jcodec_codecs_common_biari_Context_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "decode", "(Lorg/jcodec/codecs/common/biari/Context;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int NewerThan(global::Com.Liveperson.Messaging.Model.FullMessageRow p0) { if (id_newerThan_Lcom_liveperson_messaging_model_FullMessageRow_ == IntPtr.Zero) { id_newerThan_Lcom_liveperson_messaging_model_FullMessageRow_ = JNIEnv.GetMethodID(class_ref, "newerThan", "(Lcom/liveperson/messaging/model/FullMessageRow;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_newerThan_Lcom_liveperson_messaging_model_FullMessageRow_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "newerThan", "(Lcom/liveperson/messaging/model/FullMessageRow;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int GetOrientation(global::Android.Support.V7.Widget.RecyclerView p0) { if (id_getOrientation_Landroid_support_v7_widget_RecyclerView_ == IntPtr.Zero) { id_getOrientation_Landroid_support_v7_widget_RecyclerView_ = JNIEnv.GetMethodID(class_ref, "getOrientation", "(Landroid/support/v7/widget/RecyclerView;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getOrientation_Landroid_support_v7_widget_RecyclerView_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getOrientation", "(Landroid/support/v7/widget/RecyclerView;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int CompareTo(global::Java.Lang.Object p0) { if (id_compareTo_Ljava_lang_Object_ == IntPtr.Zero) { id_compareTo_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Ljava/lang/Object;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_compareTo_Ljava_lang_Object_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compareTo", "(Ljava/lang/Object;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int CompareTo(global::Okio.ByteString p0) { if (id_compareTo_Lokio_ByteString_ == IntPtr.Zero) { id_compareTo_Lokio_ByteString_ = JNIEnv.GetMethodID(class_ref, "compareTo", "(Lokio/ByteString;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(Handle, id_compareTo_Lokio_ByteString_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "compareTo", "(Lokio/ByteString;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int IndexOf(global::Org.Neuroph.Core.Neuron p0) { if (id_indexOf_Lorg_neuroph_core_Neuron_ == IntPtr.Zero) { id_indexOf_Lorg_neuroph_core_Neuron_ = JNIEnv.GetMethodID(class_ref, "indexOf", "(Lorg/neuroph/core/Neuron;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_indexOf_Lorg_neuroph_core_Neuron_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "indexOf", "(Lorg/neuroph/core/Neuron;)I"), __args); } return(__ret); } finally { } }
protected virtual unsafe int ParseICSInfo(global::Org.Jcodec.Common.IO.BitReader p0) { if (id_parseICSInfo_Lorg_jcodec_common_io_BitReader_ == IntPtr.Zero) { id_parseICSInfo_Lorg_jcodec_common_io_BitReader_ = JNIEnv.GetMethodID(class_ref, "parseICSInfo", "(Lorg/jcodec/common/io/BitReader;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_parseICSInfo_Lorg_jcodec_common_io_BitReader_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "parseICSInfo", "(Lorg/jcodec/common/io/BitReader;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int Write(global::Java.Nio.ByteBuffer p0) { if (id_write_Ljava_nio_ByteBuffer_ == IntPtr.Zero) { id_write_Ljava_nio_ByteBuffer_ = JNIEnv.GetMethodID(class_ref, "write", "(Ljava/nio/ByteBuffer;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_write_Ljava_nio_ByteBuffer_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "write", "(Ljava/nio/ByteBuffer;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int GetViewTypeForAd(global::Com.Mopub.Nativeads.NativeAd p0) { if (id_getViewTypeForAd_Lcom_mopub_nativeads_NativeAd_ == IntPtr.Zero) { id_getViewTypeForAd_Lcom_mopub_nativeads_NativeAd_ = JNIEnv.GetMethodID(class_ref, "getViewTypeForAd", "(Lcom/mopub/nativeads/NativeAd;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_getViewTypeForAd_Lcom_mopub_nativeads_NativeAd_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getViewTypeForAd", "(Lcom/mopub/nativeads/NativeAd;)I"), __args); } return(__ret); } finally { } }
public virtual unsafe int Add(global::Com.Baidu.Mapapi.Favorite.FavoritePoiInfo p0) { if (id_add_Lcom_baidu_mapapi_favorite_FavoritePoiInfo_ == IntPtr.Zero) { id_add_Lcom_baidu_mapapi_favorite_FavoritePoiInfo_ = JNIEnv.GetMethodID(class_ref, "add", "(Lcom/baidu/mapapi/favorite/FavoritePoiInfo;)I"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); int __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_add_Lcom_baidu_mapapi_favorite_FavoritePoiInfo_, __args); } else { __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "add", "(Lcom/baidu/mapapi/favorite/FavoritePoiInfo;)I"), __args); } return(__ret); } finally { } }