public virtual void SetVisualTypes(global::Org.Achartengine.Renderer.DialRenderer.Type[] p0)
        {
            if (id_setVisualTypes_arrayLorg_achartengine_renderer_DialRenderer_Type_ == IntPtr.Zero)
            {
                id_setVisualTypes_arrayLorg_achartengine_renderer_DialRenderer_Type_ = JNIEnv.GetMethodID(class_ref, "setVisualTypes", "([Lorg/achartengine/renderer/DialRenderer$Type;)V");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_setVisualTypes_arrayLorg_achartengine_renderer_DialRenderer_Type_, new JValue(native_p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setVisualTypes", "([Lorg/achartengine/renderer/DialRenderer$Type;)V"), new JValue(native_p0));
            }
            if (p0 != null)
            {
                JNIEnv.CopyArray(native_p0, p0);
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        protected virtual void A(params string[] p0)
        {
            if (id_a_arrayLjava_lang_String_ == IntPtr.Zero)
            {
                id_a_arrayLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "a", "([Ljava/lang/String;)V");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_a_arrayLjava_lang_String_, new JValue(native_p0));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "a", "([Ljava/lang/String;)V"), new JValue(native_p0));
            }
            if (p0 != null)
            {
                JNIEnv.CopyArray(native_p0, p0);
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public virtual unsafe void DoDraw(global::Android.Graphics.Canvas p0, global::Android.Graphics.Paint p1)
        {
            if (id_doDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_ == IntPtr.Zero)
            {
                id_doDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_ = JNIEnv.GetMethodID(class_ref, "doDraw", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_doDraw_Landroid_graphics_Canvas_Landroid_graphics_Paint_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "doDraw", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 4
0
        public virtual unsafe void SetShowDimension(int p0, int p1)
        {
            if (id_setShowDimension_II == IntPtr.Zero)
            {
                id_setShowDimension_II = JNIEnv.GetMethodID(class_ref, "setShowDimension", "(II)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_setShowDimension_II, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setShowDimension", "(II)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void SetZeroCoeff(int p0, int p1)
        {
            if (id_setZeroCoeff_II == IntPtr.Zero)
            {
                id_setZeroCoeff_II = JNIEnv.GetMethodID(class_ref, "setZeroCoeff", "(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_setZeroCoeff_II, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setZeroCoeff", "(II)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 6
0
        public virtual unsafe void Transform(global::Org.Jcodec.Common.Model.Picture p0, global::Org.Jcodec.Common.Model.Picture p1)
        {
            if (id_transform_Lorg_jcodec_common_model_Picture_Lorg_jcodec_common_model_Picture_ == IntPtr.Zero)
            {
                id_transform_Lorg_jcodec_common_model_Picture_Lorg_jcodec_common_model_Picture_ = JNIEnv.GetMethodID(class_ref, "transform", "(Lorg/jcodec/common/model/Picture;Lorg/jcodec/common/model/Picture;)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_transform_Lorg_jcodec_common_model_Picture_Lorg_jcodec_common_model_Picture_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "transform", "(Lorg/jcodec/common/model/Picture;Lorg/jcodec/common/model/Picture;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 7
0
        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 FixMpeg2(int p0, global::Java.Nio.ByteBuffer p1)
        {
            if (id_fixMpeg2_ILjava_nio_ByteBuffer_ == IntPtr.Zero)
            {
                id_fixMpeg2_ILjava_nio_ByteBuffer_ = JNIEnv.GetMethodID(class_ref, "fixMpeg2", "(ILjava/nio/ByteBuffer;)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_fixMpeg2_ILjava_nio_ByteBuffer_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "fixMpeg2", "(ILjava/nio/ByteBuffer;)V"), __args);
                }
            } finally {
            }
        }
        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 {
            }
        }
Esempio n. 10
0
        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 {
            }
        }
Esempio n. 11
0
        public virtual unsafe void SetNeuron(int p0, global::Org.Neuroph.Core.Neuron p1)
        {
            if (id_setNeuron_ILorg_neuroph_core_Neuron_ == IntPtr.Zero)
            {
                id_setNeuron_ILorg_neuroph_core_Neuron_ = JNIEnv.GetMethodID(class_ref, "setNeuron", "(ILorg/neuroph/core/Neuron;)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_setNeuron_ILorg_neuroph_core_Neuron_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setNeuron", "(ILorg/neuroph/core/Neuron;)V"), __args);
                }
            } finally {
            }
        }
        public override void DoFinal(byte[] p0, int p1)
        {
            if (id_doFinal_arrayBI == IntPtr.Zero)
            {
                id_doFinal_arrayBI = JNIEnv.GetMethodID(class_ref, "doFinal", "([BI)V");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            if (GetType() == ThresholdType)
            {
                JNIEnv.CallVoidMethod(Handle, id_doFinal_arrayBI, new JValue(native_p0), new JValue(p1));
            }
            else
            {
                JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "doFinal", "([BI)V"), new JValue(native_p0), new JValue(p1));
            }
            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 {
            }
        }
Esempio n. 14
0
        public override unsafe void OnBindViewHolder(global::Android.Support.V7.Widget.RecyclerView.ViewHolder p0, int p1)
        {
            if (id_onBindViewHolder_Lcom_twitter_sdk_android_tweetui_TweetTimelineRecyclerViewAdapter_TweetViewHolder_I == IntPtr.Zero)
            {
                id_onBindViewHolder_Lcom_twitter_sdk_android_tweetui_TweetTimelineRecyclerViewAdapter_TweetViewHolder_I = JNIEnv.GetMethodID(class_ref, "onBindViewHolder", "(Lcom/twitter/sdk/android/tweetui/TweetTimelineRecyclerViewAdapter$TweetViewHolder;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_Lcom_twitter_sdk_android_tweetui_TweetTimelineRecyclerViewAdapter_TweetViewHolder_I, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBindViewHolder", "(Lcom/twitter/sdk/android/tweetui/TweetTimelineRecyclerViewAdapter$TweetViewHolder;I)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void Update(global::Java.Util.Observable p0, global::Java.Lang.Object p1)
        {
            if (id_update_Ljava_util_Observable_Ljava_lang_Object_ == IntPtr.Zero)
            {
                id_update_Ljava_util_Observable_Ljava_lang_Object_ = JNIEnv.GetMethodID(class_ref, "update", "(Ljava/util/Observable;Ljava/lang/Object;)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_update_Ljava_util_Observable_Ljava_lang_Object_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "update", "(Ljava/util/Observable;Ljava/lang/Object;)V"), __args);
                }
            } 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 {
                }
            }
        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 {
            }
        }
Esempio n. 18
0
        protected virtual unsafe void Init(global::Net.SF.Image4j.IO.LittleEndianInputStream p0, int p1)
        {
            if (id_init_Lnet_sf_image4j_io_LittleEndianInputStream_I == IntPtr.Zero)
            {
                id_init_Lnet_sf_image4j_io_LittleEndianInputStream_I = JNIEnv.GetMethodID(class_ref, "init", "(Lnet/sf/image4j/io/LittleEndianInputStream;I)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_init_Lnet_sf_image4j_io_LittleEndianInputStream_I, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "init", "(Lnet/sf/image4j/io/LittleEndianInputStream;I)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 19
0
        public virtual unsafe void PutMessage(global::Org.Eclipse.Paho.Client.Mqttv3.Internal.Wire.MqttWireMessage message, global::Org.Eclipse.Paho.Client.Mqttv3.MqttToken token)
        {
            if (id_putMessage_Lorg_eclipse_paho_client_mqttv3_internal_wire_MqttWireMessage_Lorg_eclipse_paho_client_mqttv3_MqttToken_ == IntPtr.Zero)
            {
                id_putMessage_Lorg_eclipse_paho_client_mqttv3_internal_wire_MqttWireMessage_Lorg_eclipse_paho_client_mqttv3_MqttToken_ = JNIEnv.GetMethodID(class_ref, "putMessage", "(Lorg/eclipse/paho/client/mqttv3/internal/wire/MqttWireMessage;Lorg/eclipse/paho/client/mqttv3/MqttToken;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(message);
                __args [1] = new JValue(token);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_putMessage_Lorg_eclipse_paho_client_mqttv3_internal_wire_MqttWireMessage_Lorg_eclipse_paho_client_mqttv3_MqttToken_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "putMessage", "(Lorg/eclipse/paho/client/mqttv3/internal/wire/MqttWireMessage;Lorg/eclipse/paho/client/mqttv3/MqttToken;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void SetAppApplicationInstance4sdk(global::Android.App.Application application, global::Com.UT.Mini.IUTApplication utCallback)
        {
            if (id_setAppApplicationInstance4sdk_Landroid_app_Application_Lcom_ut_mini_IUTApplication_ == IntPtr.Zero)
            {
                id_setAppApplicationInstance4sdk_Landroid_app_Application_Lcom_ut_mini_IUTApplication_ = JNIEnv.GetMethodID(class_ref, "setAppApplicationInstance4sdk", "(Landroid/app/Application;Lcom/ut/mini/IUTApplication;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(application);
                __args [1] = new JValue(utCallback);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setAppApplicationInstance4sdk_Landroid_app_Application_Lcom_ut_mini_IUTApplication_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setAppApplicationInstance4sdk", "(Landroid/app/Application;Lcom/ut/mini/IUTApplication;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 21
0
        public virtual unsafe void ParseOk(bool p0, int p1)
        {
            if (id_parseOk_ZI == IntPtr.Zero)
            {
                id_parseOk_ZI = JNIEnv.GetMethodID(class_ref, "parseOk", "(ZI)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_parseOk_ZI, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "parseOk", "(ZI)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 22
0
        public virtual unsafe void HandleState(global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask p0, int p1)
        {
            if (id_handleState_Lcom_applozic_mobicomkit_api_attachment_AttachmentTask_I == IntPtr.Zero)
            {
                id_handleState_Lcom_applozic_mobicomkit_api_attachment_AttachmentTask_I = JNIEnv.GetMethodID(class_ref, "handleState", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentTask;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_handleState_Lcom_applozic_mobicomkit_api_attachment_AttachmentTask_I, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handleState", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentTask;I)V"), __args);
                }
            } finally {
            }
        }
        protected override unsafe void GetCodecPrivate(global::Java.Nio.ByteBuffer p0, global::Org.Jcodec.Common.Model.Size p1)
        {
            if (id_getCodecPrivate_Ljava_nio_ByteBuffer_Lorg_jcodec_common_model_Size_ == IntPtr.Zero)
            {
                id_getCodecPrivate_Ljava_nio_ByteBuffer_Lorg_jcodec_common_model_Size_ = JNIEnv.GetMethodID(class_ref, "getCodecPrivate", "(Ljava/nio/ByteBuffer;Lorg/jcodec/common/model/Size;)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_getCodecPrivate_Ljava_nio_ByteBuffer_Lorg_jcodec_common_model_Size_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getCodecPrivate", "(Ljava/nio/ByteBuffer;Lorg/jcodec/common/model/Size;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 24
0
        public virtual unsafe void Encode(int p0, global::Org.Jcodec.Codecs.Common.Biari.Context p1)
        {
            if (id_encode_ILorg_jcodec_codecs_common_biari_Context_ == IntPtr.Zero)
            {
                id_encode_ILorg_jcodec_codecs_common_biari_Context_ = JNIEnv.GetMethodID(class_ref, "encode", "(ILorg/jcodec/codecs/common/biari/Context;)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_encode_ILorg_jcodec_codecs_common_biari_Context_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "encode", "(ILorg/jcodec/codecs/common/biari/Context;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 25
0
        public virtual unsafe void SetFeedBackMode(bool p0, global::Com.Liveperson.Infra.Messaging_ui.Fragment.IFeedbackActions p1)
        {
            if (id_setFeedBackMode_ZLcom_liveperson_infra_messaging_ui_fragment_IFeedbackActions_ == IntPtr.Zero)
            {
                id_setFeedBackMode_ZLcom_liveperson_infra_messaging_ui_fragment_IFeedbackActions_ = JNIEnv.GetMethodID(class_ref, "setFeedBackMode", "(ZLcom/liveperson/infra/messaging_ui/fragment/IFeedbackActions;)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_setFeedBackMode_ZLcom_liveperson_infra_messaging_ui_fragment_IFeedbackActions_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setFeedBackMode", "(ZLcom/liveperson/infra/messaging_ui/fragment/IFeedbackActions;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 26
0
        public virtual unsafe void OnCommandResult(global::Android.Content.Context p0, global::Com.Xiaomi.Mipush.Sdk.MiPushCommandMessage p1)
        {
            if (id_onCommandResult_Landroid_content_Context_Lcom_xiaomi_mipush_sdk_MiPushCommandMessage_ == IntPtr.Zero)
            {
                id_onCommandResult_Landroid_content_Context_Lcom_xiaomi_mipush_sdk_MiPushCommandMessage_ = JNIEnv.GetMethodID(class_ref, "onCommandResult", "(Landroid/content/Context;Lcom/xiaomi/mipush/sdk/MiPushCommandMessage;)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_onCommandResult_Landroid_content_Context_Lcom_xiaomi_mipush_sdk_MiPushCommandMessage_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onCommandResult", "(Landroid/content/Context;Lcom/xiaomi/mipush/sdk/MiPushCommandMessage;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 27
0
        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 virtual unsafe void NormalizeSunspots(double p0, double p1)
        {
            if (id_normalizeSunspots_DD == IntPtr.Zero)
            {
                id_normalizeSunspots_DD = JNIEnv.GetMethodID(class_ref, "normalizeSunspots", "(DD)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_normalizeSunspots_DD, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "normalizeSunspots", "(DD)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 29
0
        protected virtual unsafe void HandleAttributes(global::Android.Content.Context p0, global::Android.Util.IAttributeSet p1)
        {
            if (id_handleAttributes_Landroid_content_Context_Landroid_util_AttributeSet_ == IntPtr.Zero)
            {
                id_handleAttributes_Landroid_content_Context_Landroid_util_AttributeSet_ = JNIEnv.GetMethodID(class_ref, "handleAttributes", "(Landroid/content/Context;Landroid/util/AttributeSet;)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_handleAttributes_Landroid_content_Context_Landroid_util_AttributeSet_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "handleAttributes", "(Landroid/content/Context;Landroid/util/AttributeSet;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 30
0
        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 {
            }
        }