public unsafe void WriteCharacteristic(global::Java.Util.UUID p0, global::Java.Util.UUID p1, byte[] p2, global::Com.Vivalnk.Sdk.Common.Ble.Connect.Request.CharacterWrite.ICharacterWriteListener p3, bool p4)
        {
            if (id_writeCharacteristic_Ljava_util_UUID_Ljava_util_UUID_arrayBLcom_vivalnk_sdk_common_ble_connect_request_CharacterWrite_CharacterWriteListener_Z == IntPtr.Zero)
            {
                id_writeCharacteristic_Ljava_util_UUID_Ljava_util_UUID_arrayBLcom_vivalnk_sdk_common_ble_connect_request_CharacterWrite_CharacterWriteListener_Z = JNIEnv.GetMethodID(class_ref, "writeCharacteristic", "(Ljava/util/UUID;Ljava/util/UUID;[BLcom/vivalnk/sdk/common/ble/connect/request/CharacterWrite$CharacterWriteListener;Z)V");
            }
            IntPtr  native_p2 = JNIEnv.NewArray(p2);
            JValue *__args    = stackalloc JValue [5];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
            __args [2] = new JValue(native_p2);
            __args [3] = new JValue((p3 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p3).Handle);
            __args [4] = new JValue(p4);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_writeCharacteristic_Ljava_util_UUID_Ljava_util_UUID_arrayBLcom_vivalnk_sdk_common_ble_connect_request_CharacterWrite_CharacterWriteListener_Z, __args);
            if (p2 != null)
            {
                JNIEnv.CopyArray(native_p2, p2);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public virtual unsafe void OpenCamera(global::Android.Content.Context p0)
        {
            if (id_openCamera_Landroid_content_Context_ == IntPtr.Zero)
            {
                id_openCamera_Landroid_content_Context_ = JNIEnv.GetMethodID(class_ref, "openCamera", "(Landroid/content/Context;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_openCamera_Landroid_content_Context_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "openCamera", "(Landroid/content/Context;)V"), __args);
                }
            } finally {
            }
        }
Пример #3
0
        public virtual unsafe void SetListener(global::Com.Facebook.Stetho.Inspector.Helper.IPeerRegistrationListener p0)
        {
            if (id_setListener_Lcom_facebook_stetho_inspector_helper_PeerRegistrationListener_ == IntPtr.Zero)
            {
                id_setListener_Lcom_facebook_stetho_inspector_helper_PeerRegistrationListener_ = JNIEnv.GetMethodID(class_ref, "setListener", "(Lcom/facebook/stetho/inspector/helper/PeerRegistrationListener;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setListener_Lcom_facebook_stetho_inspector_helper_PeerRegistrationListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setListener", "(Lcom/facebook/stetho/inspector/helper/PeerRegistrationListener;)V"), __args);
                }
            } finally {
            }
        }
Пример #4
0
        public unsafe void SetVisibility([global::Android.Runtime.GeneratedEnum] global::Android.Views.ViewStates visibility)
        {
            if (id_setVisibility_I == IntPtr.Zero)
            {
                id_setVisibility_I = JNIEnv.GetMethodID(class_ref, "setVisibility", "(I)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue((int)visibility);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setVisibility_I, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setVisibility", "(I)V"), __args);
                }
            } finally {
            }
        }
Пример #5
0
        public unsafe void SetSelector(global::Android.Graphics.Drawables.Drawable sel)
        {
            if (id_setSelector_Landroid_graphics_drawable_Drawable_ == IntPtr.Zero)
            {
                id_setSelector_Landroid_graphics_drawable_Drawable_ = JNIEnv.GetMethodID(class_ref, "setSelector", "(Landroid/graphics/drawable/Drawable;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(sel);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setSelector_Landroid_graphics_drawable_Drawable_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setSelector", "(Landroid/graphics/drawable/Drawable;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void Normalize(global::Org.Neuroph.Core.Learning.TrainingSet p0)
        {
            if (id_normalize_Lorg_neuroph_core_learning_TrainingSet_ == IntPtr.Zero)
            {
                id_normalize_Lorg_neuroph_core_learning_TrainingSet_ = JNIEnv.GetMethodID(class_ref, "normalize", "(Lorg/neuroph/core/learning/TrainingSet;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_normalize_Lorg_neuroph_core_learning_TrainingSet_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "normalize", "(Lorg/neuroph/core/learning/TrainingSet;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void Close(int p0)
        {
            if (id_Close_I == IntPtr.Zero)
            {
                id_Close_I = JNIEnv.GetMethodID(class_ref, "Close", "(I)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_Close_I, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "Close", "(I)V"), __args);
                }
            } finally {
            }
        }
        public override unsafe void Accept(global::Com.Liveperson.Infra.Statemachine.Interfaces.IState p0)
        {
            if (id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_ == IntPtr.Zero)
            {
                id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_ = JNIEnv.GetMethodID(class_ref, "accept", "(Lcom/liveperson/infra/statemachine/interfaces/IState;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_accept_Lcom_liveperson_infra_statemachine_interfaces_IState_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "accept", "(Lcom/liveperson/infra/statemachine/interfaces/IState;)V"), __args);
                }
            } finally {
            }
        }
        protected virtual unsafe void PopulateRGBArrays(global::Org.Neuroph.Contrib.Imgrec.Image.IImage p0)
        {
            if (id_populateRGBArrays_Lorg_neuroph_contrib_imgrec_image_Image_ == IntPtr.Zero)
            {
                id_populateRGBArrays_Lorg_neuroph_contrib_imgrec_image_Image_ = JNIEnv.GetMethodID(class_ref, "populateRGBArrays", "(Lorg/neuroph/contrib/imgrec/image/Image;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_populateRGBArrays_Lorg_neuroph_contrib_imgrec_image_Image_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "populateRGBArrays", "(Lorg/neuroph/contrib/imgrec/image/Image;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void OnBannerLoaded(global::Android.Views.View p0)
        {
            if (id_onBannerLoaded_Landroid_view_View_ == IntPtr.Zero)
            {
                id_onBannerLoaded_Landroid_view_View_ = JNIEnv.GetMethodID(class_ref, "onBannerLoaded", "(Landroid/view/View;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onBannerLoaded_Landroid_view_View_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBannerLoaded", "(Landroid/view/View;)V"), __args);
                }
            } finally {
            }
        }
Пример #11
0
        public virtual unsafe void Unserialize(global::Android.OS.Bundle p0)
        {
            if (id_unserialize_Landroid_os_Bundle_ == IntPtr.Zero)
            {
                id_unserialize_Landroid_os_Bundle_ = JNIEnv.GetMethodID(class_ref, "unserialize", "(Landroid/os/Bundle;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_unserialize_Landroid_os_Bundle_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "unserialize", "(Landroid/os/Bundle;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void OnBannerFailed(global::com.mopub.mobileads.MoPubErrorCode p0)
        {
            if (id_onBannerFailed_Lcom_mopub_mobileads_MoPubErrorCode_ == IntPtr.Zero)
            {
                id_onBannerFailed_Lcom_mopub_mobileads_MoPubErrorCode_ = JNIEnv.GetMethodID(class_ref, "onBannerFailed", "(Lcom/mopub/mobileads/MoPubErrorCode;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onBannerFailed_Lcom_mopub_mobileads_MoPubErrorCode_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBannerFailed", "(Lcom/mopub/mobileads/MoPubErrorCode;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void SetMqttCallbackExtended(global::Org.Eclipse.Paho.Client.Mqttv3.IMqttCallbackExtended mqttCallbackExtended)
        {
            if (id_setMqttCallbackExtended_Lorg_eclipse_paho_client_mqttv3_MqttCallbackExtended_ == IntPtr.Zero)
            {
                id_setMqttCallbackExtended_Lorg_eclipse_paho_client_mqttv3_MqttCallbackExtended_ = JNIEnv.GetMethodID(class_ref, "setMqttCallbackExtended", "(Lorg/eclipse/paho/client/mqttv3/MqttCallbackExtended;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(mqttCallbackExtended);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setMqttCallbackExtended_Lorg_eclipse_paho_client_mqttv3_MqttCallbackExtended_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setMqttCallbackExtended", "(Lorg/eclipse/paho/client/mqttv3/MqttCallbackExtended;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void OnSuccess(global::Org.Eclipse.Paho.Client.Mqttv3.IMqttToken token)
        {
            if (id_onSuccess_Lorg_eclipse_paho_client_mqttv3_IMqttToken_ == IntPtr.Zero)
            {
                id_onSuccess_Lorg_eclipse_paho_client_mqttv3_IMqttToken_ = JNIEnv.GetMethodID(class_ref, "onSuccess", "(Lorg/eclipse/paho/client/mqttv3/IMqttToken;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(token);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSuccess_Lorg_eclipse_paho_client_mqttv3_IMqttToken_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onSuccess", "(Lorg/eclipse/paho/client/mqttv3/IMqttToken;)V"), __args);
                }
            } finally {
            }
        }
Пример #15
0
        public virtual unsafe void SendMessageImmediately(global::Com.Liveperson.Infra.Log.Logreporter.Loggos.LoggosMessage p0)
        {
            if (id_sendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_ == IntPtr.Zero)
            {
                id_sendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_ = JNIEnv.GetMethodID(class_ref, "sendMessageImmediately", "(Lcom/liveperson/infra/log/logreporter/loggos/LoggosMessage;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_sendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "sendMessageImmediately", "(Lcom/liveperson/infra/log/logreporter/loggos/LoggosMessage;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void ShutDown(global::Com.Liveperson.Infra.Statemachine.ShutDownProcess p0)
        {
            if (id_shutDown_Lcom_liveperson_infra_statemachine_ShutDownProcess_ == IntPtr.Zero)
            {
                id_shutDown_Lcom_liveperson_infra_statemachine_ShutDownProcess_ = JNIEnv.GetMethodID(class_ref, "shutDown", "(Lcom/liveperson/infra/statemachine/ShutDownProcess;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_shutDown_Lcom_liveperson_infra_statemachine_ShutDownProcess_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "shutDown", "(Lcom/liveperson/infra/statemachine/ShutDownProcess;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void SetPlusColorResId(int p0)
        {
            if (id_setPlusColorResId_I == IntPtr.Zero)
            {
                id_setPlusColorResId_I = JNIEnv.GetMethodID(class_ref, "setPlusColorResId", "(I)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setPlusColorResId_I, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setPlusColorResId", "(I)V"), __args);
                }
            } finally {
            }
        }
Пример #18
0
        public virtual unsafe void ReadFrames(global::Java.Nio.ByteBuffer p0)
        {
            if (id_readFrames_Ljava_nio_ByteBuffer_ == IntPtr.Zero)
            {
                id_readFrames_Ljava_nio_ByteBuffer_ = JNIEnv.GetMethodID(class_ref, "readFrames", "(Ljava/nio/ByteBuffer;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_readFrames_Ljava_nio_ByteBuffer_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "readFrames", "(Ljava/nio/ByteBuffer;)V"), __args);
                }
            } finally {
            }
        }
        public override unsafe void OnViewRecycled(global::Android.Support.V7.Widget.RecyclerView.ViewHolder p0)
        {
            if (id_onViewRecycled_Landroid_support_v7_widget_RecyclerView_ViewHolder_ == IntPtr.Zero)
            {
                id_onViewRecycled_Landroid_support_v7_widget_RecyclerView_ViewHolder_ = JNIEnv.GetMethodID(class_ref, "onViewRecycled", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onViewRecycled_Landroid_support_v7_widget_RecyclerView_ViewHolder_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onViewRecycled", "(Landroid/support/v7/widget/RecyclerView$ViewHolder;)V"), __args);
                }
            } finally {
            }
        }
Пример #20
0
        public virtual unsafe void SeekAndReadContent(global::Java.Nio.Channels.FileChannel p0)
        {
            if (id_seekAndReadContent_Ljava_nio_channels_FileChannel_ == IntPtr.Zero)
            {
                id_seekAndReadContent_Ljava_nio_channels_FileChannel_ = JNIEnv.GetMethodID(class_ref, "seekAndReadContent", "(Ljava/nio/channels/FileChannel;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_seekAndReadContent_Ljava_nio_channels_FileChannel_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "seekAndReadContent", "(Ljava/nio/channels/FileChannel;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void PrintTable(global::Java.IO.PrintStream p0)
        {
            if (id_printTable_Ljava_io_PrintStream_ == IntPtr.Zero)
            {
                id_printTable_Ljava_io_PrintStream_ = JNIEnv.GetMethodID(class_ref, "printTable", "(Ljava/io/PrintStream;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_printTable_Ljava_io_PrintStream_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "printTable", "(Ljava/io/PrintStream;)V"), __args);
                }
            } finally {
            }
        }
Пример #22
0
        public virtual unsafe void SetEntity(global::Com.Algorithmia.Client.HttpEntity p0)
        {
            if (id_setEntity_Lcom_algorithmia_client_HttpEntity_ == IntPtr.Zero)
            {
                id_setEntity_Lcom_algorithmia_client_HttpEntity_ = JNIEnv.GetMethodID(class_ref, "setEntity", "(Lcom/algorithmia/client/HttpEntity;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setEntity_Lcom_algorithmia_client_HttpEntity_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setEntity", "(Lcom/algorithmia/client/HttpEntity;)V"), __args);
                }
            } finally {
            }
        }
Пример #23
0
        public unsafe void SetAdapter(global::Android.Widget.ISpinnerAdapter adapter)
        {
            if (id_setAdapter_Landroid_widget_SpinnerAdapter_ == IntPtr.Zero)
            {
                id_setAdapter_Landroid_widget_SpinnerAdapter_ = JNIEnv.GetMethodID(class_ref, "setAdapter", "(Landroid/widget/SpinnerAdapter;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(adapter);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setAdapter_Landroid_widget_SpinnerAdapter_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setAdapter", "(Landroid/widget/SpinnerAdapter;)V"), __args);
                }
            } finally {
            }
        }
Пример #24
0
        public virtual unsafe void OnLoadStarted(global::Android.Graphics.Drawables.Drawable p0)
        {
            if (id_onLoadStarted_Landroid_graphics_drawable_Drawable_ == IntPtr.Zero)
            {
                id_onLoadStarted_Landroid_graphics_drawable_Drawable_ = JNIEnv.GetMethodID(class_ref, "onLoadStarted", "(Landroid/graphics/drawable/Drawable;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(Handle, id_onLoadStarted_Landroid_graphics_drawable_Drawable_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onLoadStarted", "(Landroid/graphics/drawable/Drawable;)V"), __args);
                }
            } finally {
            }
        }
Пример #25
0
        /// <summary>
        /// Work around Bug https://bugzilla.xamarin.com/show_bug.cgi?id=6766
        /// </summary>
        void LoadEmptyKeyStore(char[] password)
        {
            if (id_load_Ljava_io_InputStream_arrayC == IntPtr.Zero)
            {
                id_load_Ljava_io_InputStream_arrayC = JNIEnv.GetMethodID(ks.Class.Handle, "load", "(Ljava/io/InputStream;[C)V");
            }
            IntPtr intPtr  = IntPtr.Zero;
            IntPtr intPtr2 = JNIEnv.NewArray(password);

            JNIEnv.CallVoidMethod(ks.Handle, id_load_Ljava_io_InputStream_arrayC, new JValue[]
            {
                new JValue(intPtr),
                new JValue(intPtr2)
            });
            JNIEnv.DeleteLocalRef(intPtr);
            if (password != null)
            {
                JNIEnv.CopyArray(intPtr2, password);
                JNIEnv.DeleteLocalRef(intPtr2);
            }
        }
Пример #26
0
        public virtual unsafe void SetCenter(global::Android.Graphics.PointF center)
        {
            if (id_setCenter_Landroid_graphics_PointF_ == IntPtr.Zero)
            {
                id_setCenter_Landroid_graphics_PointF_ = JNIEnv.GetMethodID(class_ref, "setCenter", "(Landroid/graphics/PointF;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(center);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setCenter_Landroid_graphics_PointF_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setCenter", "(Landroid/graphics/PointF;)V"), __args);
                }
            } finally {
            }
        }
Пример #27
0
        public virtual unsafe void RemovePeer(global::Com.Facebook.Stetho.Inspector.Jsonrpc.JsonRpcPeer p0)
        {
            if (id_removePeer_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_ == IntPtr.Zero)
            {
                id_removePeer_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_ = JNIEnv.GetMethodID(class_ref, "removePeer", "(Lcom/facebook/stetho/inspector/jsonrpc/JsonRpcPeer;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removePeer_Lcom_facebook_stetho_inspector_jsonrpc_JsonRpcPeer_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "removePeer", "(Lcom/facebook/stetho/inspector/jsonrpc/JsonRpcPeer;)V"), __args);
                }
            } finally {
            }
        }
Пример #28
0
        public virtual unsafe void SetScale(float scale)
        {
            if (id_setScale_F == IntPtr.Zero)
            {
                id_setScale_F = JNIEnv.GetMethodID(class_ref, "setScale", "(F)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(scale);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setScale_F, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setScale", "(F)V"), __args);
                }
            } finally {
            }
        }
Пример #29
0
        public virtual unsafe void SetFlattenNetworks(bool p0)
        {
            if (id_setFlattenNetworks_Z == IntPtr.Zero)
            {
                id_setFlattenNetworks_Z = JNIEnv.GetMethodID(class_ref, "setFlattenNetworks", "(Z)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setFlattenNetworks_Z, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setFlattenNetworks", "(Z)V"), __args);
                }
            } finally {
            }
        }
Пример #30
0
        protected virtual unsafe void SetRequestPath(global::Com.Umeng.Socialize.Net.Stats.UserInfoStatsRequest.GetUserInfoLifecycle p0)
        {
            if (id_setRequestPath_Lcom_umeng_socialize_net_stats_UserInfoStatsRequest_GetUserInfoLifecycle_ == IntPtr.Zero)
            {
                id_setRequestPath_Lcom_umeng_socialize_net_stats_UserInfoStatsRequest_GetUserInfoLifecycle_ = JNIEnv.GetMethodID(class_ref, "setRequestPath", "(Lcom/umeng/socialize/net/stats/UserInfoStatsRequest$GetUserInfoLifecycle;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setRequestPath_Lcom_umeng_socialize_net_stats_UserInfoStatsRequest_GetUserInfoLifecycle_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setRequestPath", "(Lcom/umeng/socialize/net/stats/UserInfoStatsRequest$GetUserInfoLifecycle;)V"), __args);
                }
            } finally {
            }
        }