public override unsafe void OnReceive(global::Android.Content.Context p0, global::Android.Content.Intent p1) { if (id_onReceive_Landroid_content_Context_Landroid_content_Intent_ == IntPtr.Zero) { id_onReceive_Landroid_content_Context_Landroid_content_Intent_ = JNIEnv.GetMethodID(class_ref, "onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onReceive_Landroid_content_Context_Landroid_content_Intent_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onReceive", "(Landroid/content/Context;Landroid/content/Intent;)V"), __args); } } finally { } }
public unsafe bool ReadFully(byte[] p0, int p1, int p2, bool p3) { if (id_readFully_arrayBIIZ == IntPtr.Zero) { id_readFully_arrayBIIZ = JNIEnv.GetMethodID(class_ref, "readFully", "([BIIZ)Z"); } IntPtr native_p0 = JNIEnv.NewArray(p0); JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_readFully_arrayBIIZ, __args); if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } return(__ret); }
public virtual unsafe global::Com.Mikepenz.Fastadapter.Adapters.GenericItemAdapter RemoveModelRange(int p0, int p1) { if (id_removeModelRange_II == IntPtr.Zero) { id_removeModelRange_II = JNIEnv.GetMethodID(class_ref, "removeModelRange", "(II)Lcom/mikepenz/fastadapter/adapters/GenericItemAdapter;"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { return(global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Fastadapter.Adapters.GenericItemAdapter> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_removeModelRange_II, __args), JniHandleOwnership.TransferLocalRef)); } else { return(global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Fastadapter.Adapters.GenericItemAdapter> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removeModelRange", "(II)Lcom/mikepenz/fastadapter/adapters/GenericItemAdapter;"), __args), JniHandleOwnership.TransferLocalRef)); } } finally { } }
public override unsafe void OnBindViewHolder(global::Android.Support.V7.Widget.RecyclerView.ViewHolder p0, int p1) { if (id_onBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_I == IntPtr.Zero) { id_onBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_I = JNIEnv.GetMethodID(class_ref, "onBindViewHolder", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onBindViewHolder_Landroid_support_v7_widget_RecyclerView_ViewHolder_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBindViewHolder", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;I)V"), __args); } } finally { } }
protected override unsafe void OnSysNoticeOpened(string p0, string p1, global::System.Collections.Generic.IDictionary <string, string> p2) { if (id_onSysNoticeOpened_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_ == IntPtr.Zero) { id_onSysNoticeOpened_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_ = JNIEnv.GetMethodID(class_ref, "onSysNoticeOpened", "(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p2); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSysNoticeOpened_Ljava_lang_String_Ljava_lang_String_Ljava_util_Map_, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }
public virtual unsafe void AddView(global::Android.Views.View p0, global::Com.Mopub.Nativeads.IImpressionInterface p1) { if (id_addView_Landroid_view_View_Lcom_mopub_nativeads_ImpressionInterface_ == IntPtr.Zero) { id_addView_Landroid_view_View_Lcom_mopub_nativeads_ImpressionInterface_ = JNIEnv.GetMethodID(class_ref, "addView", "(Landroid/view/View;Lcom/mopub/nativeads/ImpressionInterface;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addView_Landroid_view_View_Lcom_mopub_nativeads_ImpressionInterface_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addView", "(Landroid/view/View;Lcom/mopub/nativeads/ImpressionInterface;)V"), __args); } } finally { } }
public unsafe MqttPubRec(sbyte p0, byte[] p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p1 = JNIEnv.NewArray(p1); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); if (((object)this).GetType() != typeof(MqttPubRec)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(B[B)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(B[B)V", __args); return; } if (id_ctor_BarrayB == IntPtr.Zero) { id_ctor_BarrayB = JNIEnv.GetMethodID(class_ref, "<init>", "(B[B)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_BarrayB, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_BarrayB, __args); } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } } }
public static unsafe string GetFormattedTime(string p0, int p1, long p2, string p3) { if (id_getFormattedTime_Ljava_lang_String_IJLjava_lang_String_ == IntPtr.Zero) { id_getFormattedTime_Ljava_lang_String_IJLjava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "getFormattedTime", "(Ljava/lang/String;IJLjava/lang/String;)Ljava/lang/String;"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p3 = JNIEnv.NewString(p3); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(native_p3); string __ret = JNIEnv.GetString(JNIEnv.CallStaticObjectMethod(class_ref, id_getFormattedTime_Ljava_lang_String_IJLjava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p3); } }
public virtual unsafe void OnNotify(global::Com.Baidu.Location.BDLocation p0, float p1) { if (id_onNotify_Lcom_baidu_location_BDLocation_F == IntPtr.Zero) { id_onNotify_Lcom_baidu_location_BDLocation_F = JNIEnv.GetMethodID(class_ref, "onNotify", "(Lcom/baidu/location/BDLocation;F)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onNotify_Lcom_baidu_location_BDLocation_F, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onNotify", "(Lcom/baidu/location/BDLocation;F)V"), __args); } } finally { } }
public unsafe SendCsatCommand(string p0, string p1, int p2, int p3) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); if (((object)this).GetType() != typeof(SendCsatCommand)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;Ljava/lang/String;II)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Ljava/lang/String;II)V", __args); return; } if (id_ctor_Ljava_lang_String_Ljava_lang_String_II == IntPtr.Zero) { id_ctor_Ljava_lang_String_Ljava_lang_String_II = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Ljava/lang/String;II)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Ljava_lang_String_II, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Ljava_lang_String_II, __args); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); } }
public virtual unsafe void OnResourceReady(global::Android.Graphics.Bitmap p0, global::Com.Bumptech.Glide.Request.Animation.IGlideAnimation p1) { if (id_onResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_ == IntPtr.Zero) { id_onResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_ = JNIEnv.GetMethodID(class_ref, "onResourceReady", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_onResourceReady_Landroid_graphics_Bitmap_Lcom_bumptech_glide_request_animation_GlideAnimation_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onResourceReady", "(Landroid/graphics/Bitmap;Lcom/bumptech/glide/request/animation/GlideAnimation;)V"), __args); } } finally { } }
public virtual unsafe void Init(long p0, global::Android.OS.Bundle p1) { if (id_Init_JLandroid_os_Bundle_ == IntPtr.Zero) { id_Init_JLandroid_os_Bundle_ = JNIEnv.GetMethodID(class_ref, "Init", "(JLandroid/os/Bundle;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_Init_JLandroid_os_Bundle_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "Init", "(JLandroid/os/Bundle;)V"), __args); } } finally { } }
public virtual unsafe void Binarize(int p0, global::Org.Jcodec.Codecs.Common.Biari.MQEncoder p1) { if (id_binarize_ILorg_jcodec_codecs_common_biari_MQEncoder_ == IntPtr.Zero) { id_binarize_ILorg_jcodec_codecs_common_biari_MQEncoder_ = JNIEnv.GetMethodID(class_ref, "binarize", "(ILorg/jcodec/codecs/common/biari/MQEncoder;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_binarize_ILorg_jcodec_codecs_common_biari_MQEncoder_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "binarize", "(ILorg/jcodec/codecs/common/biari/MQEncoder;)V"), __args); } } finally { } }
public virtual unsafe void Write(global::Okio.Buffer p0, long p1) { if (id_write_Lokio_Buffer_J == IntPtr.Zero) { id_write_Lokio_Buffer_J = JNIEnv.GetMethodID(class_ref, "write", "(Lokio/Buffer;J)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_write_Lokio_Buffer_J, __args); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "write", "(Lokio/Buffer;J)V"), __args); } } finally { } }
public virtual unsafe void SetDurationAndSkipOffset(int p0, int p1) { if (id_setDurationAndSkipOffset_II == IntPtr.Zero) { id_setDurationAndSkipOffset_II = JNIEnv.GetMethodID(class_ref, "setDurationAndSkipOffset", "(II)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setDurationAndSkipOffset_II, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setDurationAndSkipOffset", "(II)V"), __args); } } finally { } }
public override sealed unsafe void Write(byte[] p0, int p1, int p2) { if (id_write_arrayBII == IntPtr.Zero) { id_write_arrayBII = JNIEnv.GetMethodID(class_ref, "write", "([BII)V"); } IntPtr native_p0 = JNIEnv.NewArray(p0); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_write_arrayBII, __args); } finally { if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } } }
public virtual unsafe void Learn(global::Org.Neuroph.Core.Data.DataSet p0, double p1) { if (id_learn_Lorg_neuroph_core_data_DataSet_D == IntPtr.Zero) { id_learn_Lorg_neuroph_core_data_DataSet_D = JNIEnv.GetMethodID(class_ref, "learn", "(Lorg/neuroph/core/data/DataSet;D)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_learn_Lorg_neuroph_core_data_DataSet_D, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "learn", "(Lorg/neuroph/core/data/DataSet;D)V"), __args); } } finally { } }
public static unsafe global::Java.Lang.Object MakeTexCoordsUnique(global::JavaGl.Obj.IReadableObj input, global::System.Collections.Generic.IList <global::Java.Lang.Integer> indexMapping, global::Java.Lang.Object output) { if (id_makeTexCoordsUnique_Lde_javagl_obj_ReadableObj_Ljava_util_List_Lde_javagl_obj_WritableObj_ == IntPtr.Zero) { id_makeTexCoordsUnique_Lde_javagl_obj_ReadableObj_Ljava_util_List_Lde_javagl_obj_WritableObj_ = JNIEnv.GetStaticMethodID(class_ref, "makeTexCoordsUnique", "(Lde/javagl/obj/ReadableObj;Ljava/util/List;Lde/javagl/obj/WritableObj;)Lde/javagl/obj/WritableObj;"); } IntPtr native_indexMapping = global::Android.Runtime.JavaList <global::Java.Lang.Integer> .ToLocalJniHandle(indexMapping); IntPtr native_output = JNIEnv.ToLocalJniHandle(output); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(input); __args [1] = new JValue(native_indexMapping); __args [2] = new JValue(native_output); global::Java.Lang.Object __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallStaticObjectMethod(class_ref, id_makeTexCoordsUnique_Lde_javagl_obj_ReadableObj_Ljava_util_List_Lde_javagl_obj_WritableObj_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_indexMapping); JNIEnv.DeleteLocalRef(native_output); } }
public virtual unsafe void OnBannerFailed(global::com.mopub.mobileads.MoPubView p0, global::com.mopub.mobileads.MoPubErrorCode p1) { if (id_onBannerFailed_Lcom_mopub_mobileads_MoPubView_Lcom_mopub_mobileads_MoPubErrorCode_ == IntPtr.Zero) { id_onBannerFailed_Lcom_mopub_mobileads_MoPubView_Lcom_mopub_mobileads_MoPubErrorCode_ = JNIEnv.GetMethodID(class_ref, "onBannerFailed", "(Lcom/mopub/mobileads/MoPubView;Lcom/mopub/mobileads/MoPubErrorCode;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onBannerFailed_Lcom_mopub_mobileads_MoPubView_Lcom_mopub_mobileads_MoPubErrorCode_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBannerFailed", "(Lcom/mopub/mobileads/MoPubView;Lcom/mopub/mobileads/MoPubErrorCode;)V"), __args); } } finally { } }
public virtual unsafe void AssignWorkgroupSizes(int p0, int p1) { if (id_assignWorkgroupSizes_II == IntPtr.Zero) { id_assignWorkgroupSizes_II = JNIEnv.GetMethodID(class_ref, "assignWorkgroupSizes", "(II)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_assignWorkgroupSizes_II, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "assignWorkgroupSizes", "(II)V"), __args); } } finally { } }
public virtual unsafe void SetParam(int p0, double p1) { if (id_setParam_ID == IntPtr.Zero) { id_setParam_ID = JNIEnv.GetMethodID(class_ref, "setParam", "(ID)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setParam_ID, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setParam", "(ID)V"), __args); } } finally { } }
public unsafe int ReadAt(long p0, byte[] p1, int p2, int p3) { if (id_readAt_JarrayBII == IntPtr.Zero) { id_readAt_JarrayBII = JNIEnv.GetMethodID(class_ref, "readAt", "(J[BII)I"); } IntPtr native_p1 = JNIEnv.NewArray(p1); JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); int __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_readAt_JarrayBII, __args); if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } return(__ret); }
public unsafe void AddNearbyGeoFence(string p0, string p1, global::Com.Amap.Api.Location.DPoint p2, float p3, int p4, string p5) { if (id_addNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_ == IntPtr.Zero) { id_addNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "addNearbyGeoFence", "(Ljava/lang/String;Ljava/lang/String;Lcom/amap/api/location/DPoint;FILjava/lang/String;)V"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p5 = JNIEnv.NewString(p5); JValue *__args = stackalloc JValue [6]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle); __args [3] = new JValue(p3); __args [4] = new JValue(p4); __args [5] = new JValue(native_p5); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addNearbyGeoFence_Ljava_lang_String_Ljava_lang_String_Lcom_amap_api_location_DPoint_FILjava_lang_String_, __args); JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p5); }
public virtual unsafe void SetTgtChunkDuration(global::Org.Jcodec.Common.Model.Rational p0, global::Org.Jcodec.Common.Model.Unit p1) { if (id_setTgtChunkDuration_Lorg_jcodec_common_model_Rational_Lorg_jcodec_common_model_Unit_ == IntPtr.Zero) { id_setTgtChunkDuration_Lorg_jcodec_common_model_Rational_Lorg_jcodec_common_model_Unit_ = JNIEnv.GetMethodID(class_ref, "setTgtChunkDuration", "(Lorg/jcodec/common/model/Rational;Lorg/jcodec/common/model/Unit;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setTgtChunkDuration_Lorg_jcodec_common_model_Rational_Lorg_jcodec_common_model_Unit_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setTgtChunkDuration", "(Lorg/jcodec/common/model/Rational;Lorg/jcodec/common/model/Unit;)V"), __args); } } finally { } }
public virtual unsafe void WriteToParcel(global::Android.OS.Parcel dest, [global::Android.Runtime.GeneratedEnum] global::Android.OS.ParcelableWriteFlags flags) { if (id_writeToParcel_Landroid_os_Parcel_I == IntPtr.Zero) { id_writeToParcel_Landroid_os_Parcel_I = JNIEnv.GetMethodID(class_ref, "writeToParcel", "(Landroid/os/Parcel;I)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(dest); __args [1] = new JValue((int)flags); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_writeToParcel_Landroid_os_Parcel_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "writeToParcel", "(Landroid/os/Parcel;I)V"), __args); } } finally { } }
public virtual unsafe void PostRunnable(global::Java.Lang.IRunnable p0, long p1) { if (id_postRunnable_Ljava_lang_Runnable_J == IntPtr.Zero) { id_postRunnable_Ljava_lang_Runnable_J = JNIEnv.GetMethodID(class_ref, "postRunnable", "(Ljava/lang/Runnable;J)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_postRunnable_Ljava_lang_Runnable_J, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "postRunnable", "(Ljava/lang/Runnable;J)V"), __args); } } finally { } }
public unsafe global::Com.Mikepenz.Fastadapter.Adapters.GenericItemAdapter AddModel(int p0, params global:: Java.Lang.Object[] p1) { if (id_addModel_IarrayLjava_lang_Object_ == IntPtr.Zero) { id_addModel_IarrayLjava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "addModel", "(I[Ljava/lang/Object;)Lcom/mikepenz/fastadapter/adapters/GenericItemAdapter;"); } IntPtr native_p1 = JNIEnv.NewArray(p1); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); global::Com.Mikepenz.Fastadapter.Adapters.GenericItemAdapter __ret = global::Java.Lang.Object.GetObject <global::Com.Mikepenz.Fastadapter.Adapters.GenericItemAdapter> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_addModel_IarrayLjava_lang_Object_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } } }
public virtual unsafe void SendMessage(global::Android.OS.Message p0, int p1) { if (id_sendMessage_Landroid_os_Message_I == IntPtr.Zero) { id_sendMessage_Landroid_os_Message_I = JNIEnv.GetMethodID(class_ref, "sendMessage", "(Landroid/os/Message;I)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_sendMessage_Landroid_os_Message_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "sendMessage", "(Landroid/os/Message;I)V"), __args); } } finally { } }
public virtual unsafe void OnScrollStateChanged(global::Android.Widget.AbsListView p0, [global::Android.Runtime.GeneratedEnum] global::Android.Widget.ScrollState p1) { if (id_onScrollStateChanged_Landroid_widget_AbsListView_I == IntPtr.Zero) { id_onScrollStateChanged_Landroid_widget_AbsListView_I = JNIEnv.GetMethodID(class_ref, "onScrollStateChanged", "(Landroid/widget/AbsListView;I)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue((int)p1); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onScrollStateChanged_Landroid_widget_AbsListView_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onScrollStateChanged", "(Landroid/widget/AbsListView;I)V"), __args); } } finally { } }
public unsafe GPUImageMonochromeFilter(float intensity, float[] color) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_color = JNIEnv.NewArray(color); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(intensity); __args [1] = new JValue(native_color); if (((object)this).GetType() != typeof(GPUImageMonochromeFilter)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(F[F)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(F[F)V", __args); return; } if (id_ctor_FarrayF == IntPtr.Zero) { id_ctor_FarrayF = JNIEnv.GetMethodID(class_ref, "<init>", "(F[F)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_FarrayF, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_FarrayF, __args); } finally { if (color != null) { JNIEnv.CopyArray(native_color, color); JNIEnv.DeleteLocalRef(native_color); } } }