public unsafe NativeToJsMessageQueue(global::Android.App.Activity p0, global::Android.Webkit.WebView p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (((object)this).GetType() != typeof(NativeToJsMessageQueue))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/app/Activity;Landroid/webkit/WebView;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/app/Activity;Landroid/webkit/WebView;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_app_Activity_Landroid_webkit_WebView_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_app_Activity_Landroid_webkit_WebView_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/app/Activity;Landroid/webkit/WebView;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_app_Activity_Landroid_webkit_WebView_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_app_Activity_Landroid_webkit_WebView_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
示例#2
0
		public unsafe BackgroundActionsService ()
			: base (IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
		{
			if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
				return;

			try {
				if (((object) this).GetType () != typeof (BackgroundActionsService)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (((object) this).GetType (), "()V"),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (((global::Java.Lang.Object) this).Handle, "()V");
					return;
				}

				if (id_ctor == IntPtr.Zero)
					id_ctor = JNIEnv.GetMethodID (class_ref, "<init>", "()V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (((global::Java.Lang.Object) this).Handle, class_ref, id_ctor);
			} finally {
			}
		}
示例#3
0
        public unsafe DispatchQueue(string p0, int p1, global::Com.Liveperson.Infra.Network.Socket.IIdleQueueHandler p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(DispatchQueue))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;ILcom/liveperson/infra/network/socket/IdleQueueHandler;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;ILcom/liveperson/infra/network/socket/IdleQueueHandler;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_ILcom_liveperson_infra_network_socket_IdleQueueHandler_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_ILcom_liveperson_infra_network_socket_IdleQueueHandler_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;ILcom/liveperson/infra/network/socket/IdleQueueHandler;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_ILcom_liveperson_infra_network_socket_IdleQueueHandler_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_ILcom_liveperson_infra_network_socket_IdleQueueHandler_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
示例#4
0
		public unsafe Ć ()
			: base (IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
		{
			if (Handle != IntPtr.Zero)
				return;

			try {
				if (GetType () != typeof (Ć)) {
					SetHandle (
							global::Android.Runtime.JNIEnv.StartCreateInstance (GetType (), "()V"),
							JniHandleOwnership.TransferLocalRef);
					global::Android.Runtime.JNIEnv.FinishCreateInstance (Handle, "()V");
					return;
				}

				if (id_ctor == IntPtr.Zero)
					id_ctor = JNIEnv.GetMethodID (class_ref, "<init>", "()V");
				SetHandle (
						global::Android.Runtime.JNIEnv.StartCreateInstance (class_ref, id_ctor),
						JniHandleOwnership.TransferLocalRef);
				JNIEnv.FinishCreateInstance (Handle, class_ref, id_ctor);
			} finally {
			}
		}
示例#5
0
        public unsafe DataObject(global::Com.Algorithmia.Client.HttpClient p0, string p1, global::Com.Algorithmia.Data.DataObject.DataObjectType p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (GetType() != typeof(DataObject))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/algorithmia/client/HttpClient;Ljava/lang/String;Lcom/algorithmia/data/DataObject$DataObjectType;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/algorithmia/client/HttpClient;Ljava/lang/String;Lcom/algorithmia/data/DataObject$DataObjectType;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_algorithmia_client_HttpClient_Ljava_lang_String_Lcom_algorithmia_data_DataObject_DataObjectType_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_algorithmia_client_HttpClient_Ljava_lang_String_Lcom_algorithmia_data_DataObject_DataObjectType_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/algorithmia/client/HttpClient;Ljava/lang/String;Lcom/algorithmia/data/DataObject$DataObjectType;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_algorithmia_client_HttpClient_Ljava_lang_String_Lcom_algorithmia_data_DataObject_DataObjectType_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_algorithmia_client_HttpClient_Ljava_lang_String_Lcom_algorithmia_data_DataObject_DataObjectType_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        public unsafe FifoPriorityThreadPoolExecutor(int p0, int p1, long p2, global::Java.Util.Concurrent.TimeUnit p3, global::Java.Util.Concurrent.IThreadFactory p4, global::Com.Bumptech.Glide.Load.Engine.Executor.FifoPriorityThreadPoolExecutor.UncaughtThrowableStrategy p5)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [6];
                __args [0] = new JValue(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);
                if (GetType() != typeof(FifoPriorityThreadPoolExecutor))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V", __args);
                    return;
                }

                if (id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_ == IntPtr.Zero)
                {
                    id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_ = JNIEnv.GetMethodID(class_ref, "<init>", "(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/ThreadFactory;Lcom/bumptech/glide/load/engine/executor/FifoPriorityThreadPoolExecutor$UncaughtThrowableStrategy;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_IIJLjava_util_concurrent_TimeUnit_Ljava_util_concurrent_ThreadFactory_Lcom_bumptech_glide_load_engine_executor_FifoPriorityThreadPoolExecutor_UncaughtThrowableStrategy_, __args);
            } finally {
            }
        }
示例#7
0
        public unsafe DownloaderResponse(global::System.IO.Stream p0, bool p1, long p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(DownloaderResponse))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/io/InputStream;ZJ)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/io/InputStream;ZJ)V", __args);
                    return;
                }

                if (id_ctor_Ljava_io_InputStream_ZJ == IntPtr.Zero)
                {
                    id_ctor_Ljava_io_InputStream_ZJ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/io/InputStream;ZJ)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_io_InputStream_ZJ, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_io_InputStream_ZJ, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public unsafe MoPubNative(global::Android.App.Activity p0, string p1, global::Com.Mopub.Nativeads.MoPubNative.IMoPubNativeNetworkListener p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(MoPubNative))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/app/Activity;Ljava/lang/String;Lcom/mopub/nativeads/MoPubNative$MoPubNativeNetworkListener;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/app/Activity;Ljava/lang/String;Lcom/mopub/nativeads/MoPubNative$MoPubNativeNetworkListener;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_app_Activity_Ljava_lang_String_Lcom_mopub_nativeads_MoPubNative_MoPubNativeNetworkListener_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_app_Activity_Ljava_lang_String_Lcom_mopub_nativeads_MoPubNative_MoPubNativeNetworkListener_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/app/Activity;Ljava/lang/String;Lcom/mopub/nativeads/MoPubNative$MoPubNativeNetworkListener;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_app_Activity_Ljava_lang_String_Lcom_mopub_nativeads_MoPubNative_MoPubNativeNetworkListener_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_app_Activity_Ljava_lang_String_Lcom_mopub_nativeads_MoPubNative_MoPubNativeNetworkListener_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
示例#9
0
        public unsafe Metadata(global::Com.Algorithmia.Algo.ContentType p0, global::Java.Lang.Double p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (GetType() != typeof(Metadata))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/algorithmia/algo/ContentType;Ljava/lang/Double;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/algorithmia/algo/ContentType;Ljava/lang/Double;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_algorithmia_algo_ContentType_Ljava_lang_Double_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_algorithmia_algo_ContentType_Ljava_lang_Double_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/algorithmia/algo/ContentType;Ljava/lang/Double;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_algorithmia_algo_ContentType_Ljava_lang_Double_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_algorithmia_algo_ContentType_Ljava_lang_Double_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
示例#10
0
        public unsafe AdaptationSet(int p0, int p1, global::System.Collections.Generic.IList <global::Com.Google.Android.Exoplayer.Dash.Mpd.Representation> p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = global::Android.Runtime.JavaList <global::Com.Google.Android.Exoplayer.Dash.Mpd.Representation> .ToLocalJniHandle(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (GetType() != typeof(AdaptationSet))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(IILjava/util/List;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(IILjava/util/List;)V", __args);
                    return;
                }

                if (id_ctor_IILjava_util_List_ == IntPtr.Zero)
                {
                    id_ctor_IILjava_util_List_ = JNIEnv.GetMethodID(class_ref, "<init>", "(IILjava/util/List;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_IILjava_util_List_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_IILjava_util_List_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public unsafe PublishEvent(string p0, global::Com.Liveperson.Api.Request.PublishEvent.Type p1, global::Com.Liveperson.Infra.Model.Types.ChatState p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(PublishEvent))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;Lcom/liveperson/api/request/PublishEvent$Type;Lcom/liveperson/infra/model/types/ChatState;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Lcom/liveperson/api/request/PublishEvent$Type;Lcom/liveperson/infra/model/types/ChatState;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_Lcom_liveperson_api_request_PublishEvent_Type_Lcom_liveperson_infra_model_types_ChatState_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_Lcom_liveperson_api_request_PublishEvent_Type_Lcom_liveperson_infra_model_types_ChatState_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Lcom/liveperson/api/request/PublishEvent$Type;Lcom/liveperson/infra/model/types/ChatState;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Lcom_liveperson_api_request_PublishEvent_Type_Lcom_liveperson_infra_model_types_ChatState_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Lcom_liveperson_api_request_PublishEvent_Type_Lcom_liveperson_infra_model_types_ChatState_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public unsafe DefaultHttpDataSource(string p0, global::Com.Google.Android.Exoplayer.Util.IPredicate p1, global::Com.Google.Android.Exoplayer.Upstream.ITransferListener p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (GetType() != typeof(DefaultHttpDataSource))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/String;Lcom/google/android/exoplayer/util/Predicate;Lcom/google/android/exoplayer/upstream/TransferListener;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Lcom/google/android/exoplayer/util/Predicate;Lcom/google/android/exoplayer/upstream/TransferListener;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_Lcom_google_android_exoplayer_upstream_TransferListener_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_Lcom_google_android_exoplayer_upstream_TransferListener_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Lcom/google/android/exoplayer/util/Predicate;Lcom/google/android/exoplayer/upstream/TransferListener;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_Lcom_google_android_exoplayer_upstream_TransferListener_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Lcom_google_android_exoplayer_util_Predicate_Lcom_google_android_exoplayer_upstream_TransferListener_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
示例#13
0
            public unsafe ProfilePictureUpload(global::Com.Applozic.Mobicomkit.Uiwidgets.People.Fragment.ProfileFragment __self, global::Com.Applozic.Mobicommons.People.Contact.Contact p1, global::Android.Content.Context p2, global::Android.Widget.TextView p3, global::Android.Widget.TextView p4, global::Android.Widget.TextView p5)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                try {
                    JValue *__args = stackalloc JValue [6];
                    __args [0] = new JValue(__self);
                    __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);
                    if (((object)this).GetType() != typeof(ProfilePictureUpload))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Lcom/applozic/mobicommons/people/contact/Contact;Landroid/content/Context;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Lcom/applozic/mobicommons/people/contact/Contact;Landroid/content/Context;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_applozic_mobicomkit_uiwidgets_people_fragment_ProfileFragment_Lcom_applozic_mobicommons_people_contact_Contact_Landroid_content_Context_Landroid_widget_TextView_Landroid_widget_TextView_Landroid_widget_TextView_ == IntPtr.Zero)
                    {
                        id_ctor_Lcom_applozic_mobicomkit_uiwidgets_people_fragment_ProfileFragment_Lcom_applozic_mobicommons_people_contact_Contact_Landroid_content_Context_Landroid_widget_TextView_Landroid_widget_TextView_Landroid_widget_TextView_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/applozic/mobicomkit/uiwidgets/people/fragment/ProfileFragment;Lcom/applozic/mobicommons/people/contact/Contact;Landroid/content/Context;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_applozic_mobicomkit_uiwidgets_people_fragment_ProfileFragment_Lcom_applozic_mobicommons_people_contact_Contact_Landroid_content_Context_Landroid_widget_TextView_Landroid_widget_TextView_Landroid_widget_TextView_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_applozic_mobicomkit_uiwidgets_people_fragment_ProfileFragment_Lcom_applozic_mobicommons_people_contact_Contact_Landroid_content_Context_Landroid_widget_TextView_Landroid_widget_TextView_Landroid_widget_TextView_, __args);
                } finally {
                }
            }
        public unsafe AvidEvent(int p0, string p1, global::Org.Json.JSONObject p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(AvidEvent))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(ILjava/lang/String;Lorg/json/JSONObject;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(ILjava/lang/String;Lorg/json/JSONObject;)V", __args);
                    return;
                }

                if (id_ctor_ILjava_lang_String_Lorg_json_JSONObject_ == IntPtr.Zero)
                {
                    id_ctor_ILjava_lang_String_Lorg_json_JSONObject_ = JNIEnv.GetMethodID(class_ref, "<init>", "(ILjava/lang/String;Lorg/json/JSONObject;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_ILjava_lang_String_Lorg_json_JSONObject_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_ILjava_lang_String_Lorg_json_JSONObject_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        public unsafe BooleanArithmeticDecoder(global::Java.Nio.ByteBuffer p0, int p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (GetType() != typeof(BooleanArithmeticDecoder))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/nio/ByteBuffer;ILjava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/nio/ByteBuffer;ILjava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_nio_ByteBuffer_ILjava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_nio_ByteBuffer_ILjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/nio/ByteBuffer;ILjava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_nio_ByteBuffer_ILjava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_nio_ByteBuffer_ILjava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public unsafe SynchronizedAuthenticationCompletedCallback(global::Com.Liveperson.Messaging.Controller.AccountsController p0, string p1, global::Com.Liveperson.Infra.ICallback p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(SynchronizedAuthenticationCompletedCallback))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/controller/AccountsController;Ljava/lang/String;Lcom/liveperson/infra/ICallback;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/controller/AccountsController;Ljava/lang/String;Lcom/liveperson/infra/ICallback;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/controller/AccountsController;Ljava/lang/String;Lcom/liveperson/infra/ICallback;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
            public unsafe LoadTask(global::Java.Lang.IRunnable p0, global::Java.Lang.Object p1, int p2)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (Handle != IntPtr.Zero)
                {
                    return;
                }

                IntPtr native_p1 = JNIEnv.ToLocalJniHandle(p1);

                try {
                    JValue *__args = stackalloc JValue [3];
                    __args [0] = new JValue(p0);
                    __args [1] = new JValue(native_p1);
                    __args [2] = new JValue(p2);
                    if (GetType() != typeof(LoadTask))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/Runnable;Ljava/lang/Object;I)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Ljava/lang/Runnable;Ljava/lang/Object;I)V", __args);
                        return;
                    }

                    if (id_ctor_Ljava_lang_Runnable_Ljava_lang_Object_I == IntPtr.Zero)
                    {
                        id_ctor_Ljava_lang_Runnable_Ljava_lang_Object_I = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/Runnable;Ljava/lang/Object;I)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_Runnable_Ljava_lang_Object_I, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Ljava_lang_Runnable_Ljava_lang_Object_I, __args);
                } finally {
                    JNIEnv.DeleteLocalRef(native_p1);
                }
            }
示例#18
0
        public unsafe ContentProtection(string p0, global::Java.Util.UUID p1, global::Com.Google.Android.Exoplayer.Drm.DrmInitDataSchemeInitData p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (GetType() != typeof(ContentProtection))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/String;Ljava/util/UUID;Lcom/google/android/exoplayer/drm/DrmInitData$SchemeInitData;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Ljava/util/UUID;Lcom/google/android/exoplayer/drm/DrmInitData$SchemeInitData;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_Ljava_util_UUID_Lcom_google_android_exoplayer_drm_DrmInitData_SchemeInitData_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_Ljava_util_UUID_Lcom_google_android_exoplayer_drm_DrmInitData_SchemeInitData_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Ljava/util/UUID;Lcom/google/android/exoplayer/drm/DrmInitData$SchemeInitData;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Ljava_util_UUID_Lcom_google_android_exoplayer_drm_DrmInitData_SchemeInitData_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Ljava_util_UUID_Lcom_google_android_exoplayer_drm_DrmInitData_SchemeInitData_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public unsafe IdpTask(global::Com.Liveperson.Messaging.Controller.AccountsController p0, global::Com.Liveperson.Messaging.Model.AmsUsers p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (((object)this).GetType() != typeof(IdpTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/controller/AccountsController;Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/controller/AccountsController;Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/controller/AccountsController;Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
            public unsafe PMTStream(int p0, int p1, global::System.Collections.Generic.IList <global::Org.Jcodec.Containers.Mps.MPSUtils.MPEGMediaDescriptor> p2)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                IntPtr native_p2 = global::Android.Runtime.JavaList <global::Org.Jcodec.Containers.Mps.MPSUtils.MPEGMediaDescriptor> .ToLocalJniHandle(p2);

                try {
                    JValue *__args = stackalloc JValue [3];
                    __args [0] = new JValue(p0);
                    __args [1] = new JValue(p1);
                    __args [2] = new JValue(native_p2);
                    if (GetType() != typeof(PMTStream))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(IILjava/util/List;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(IILjava/util/List;)V", __args);
                        return;
                    }

                    if (id_ctor_IILjava_util_List_ == IntPtr.Zero)
                    {
                        id_ctor_IILjava_util_List_ = JNIEnv.GetMethodID(class_ref, "<init>", "(IILjava/util/List;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_IILjava_util_List_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_IILjava_util_List_, __args);
                } finally {
                    JNIEnv.DeleteLocalRef(native_p2);
                }
            }
示例#21
0
        public unsafe PushNotificationTask(global::Android.Content.Context p0, string p1, global::Com.Applozic.Mobicomkit.Listners.IAlPushNotificationHandler p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(PushNotificationTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Ljava/lang/String;Lcom/applozic/mobicomkit/listners/AlPushNotificationHandler;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Ljava/lang/String;Lcom/applozic/mobicomkit/listners/AlPushNotificationHandler;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Ljava_lang_String_Lcom_applozic_mobicomkit_listners_AlPushNotificationHandler_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Ljava_lang_String_Lcom_applozic_mobicomkit_listners_AlPushNotificationHandler_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Ljava/lang/String;Lcom/applozic/mobicomkit/listners/AlPushNotificationHandler;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Ljava_lang_String_Lcom_applozic_mobicomkit_listners_AlPushNotificationHandler_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Ljava_lang_String_Lcom_applozic_mobicomkit_listners_AlPushNotificationHandler_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
示例#22
0
        public unsafe NonViewAware(string p0, global::Com.Nostra13.Universalimageloader.Core.Assist.ImageSize p1, global::Com.Nostra13.Universalimageloader.Core.Assist.ViewScaleType p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (GetType() != typeof(NonViewAware))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/ImageSize;Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/ImageSize;Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_Lcom_nostra13_universalimageloader_core_assist_ImageSize_Lcom_nostra13_universalimageloader_core_assist_ViewScaleType_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_Lcom_nostra13_universalimageloader_core_assist_ImageSize_Lcom_nostra13_universalimageloader_core_assist_ViewScaleType_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Lcom/nostra13/universalimageloader/core/assist/ImageSize;Lcom/nostra13/universalimageloader/core/assist/ViewScaleType;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Lcom_nostra13_universalimageloader_core_assist_ImageSize_Lcom_nostra13_universalimageloader_core_assist_ViewScaleType_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Lcom_nostra13_universalimageloader_core_assist_ImageSize_Lcom_nostra13_universalimageloader_core_assist_ViewScaleType_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public unsafe NotificationHandler(string p0, global::Android.Content.Context p1, global::Java.Lang.Class p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(NotificationHandler))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;Landroid/content/Context;Ljava/lang/Class;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/lang/String;Landroid/content/Context;Ljava/lang/Class;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_Landroid_content_Context_Ljava_lang_Class_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_Landroid_content_Context_Ljava_lang_Class_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;Landroid/content/Context;Ljava/lang/Class;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_Landroid_content_Context_Ljava_lang_Class_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_lang_String_Landroid_content_Context_Ljava_lang_Class_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
        public unsafe AmsConsumerVoiceViewHolder(global::Android.Views.View p0, global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (((object)this).GetType() != typeof(AmsConsumerVoiceViewHolder))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/view/View;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/view/View;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_view_View_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_view_View_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/view/View;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_view_View_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_view_View_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
示例#25
0
        public unsafe TTRSnackBar(global::Android.Content.Res.Resources res, global::Android.Views.View viewContainerSnackBar, global::System.Collections.Generic.IDictionary <string, global::Java.Lang.Boolean> featuresConfiguration)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_featuresConfiguration = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Boolean> .ToLocalJniHandle(featuresConfiguration);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(res);
                __args [1] = new JValue(viewContainerSnackBar);
                __args [2] = new JValue(native_featuresConfiguration);
                if (((object)this).GetType() != typeof(TTRSnackBar))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/res/Resources;Landroid/view/View;Ljava/util/HashMap;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/res/Resources;Landroid/view/View;Ljava/util/HashMap;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_res_Resources_Landroid_view_View_Ljava_util_HashMap_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_res_Resources_Landroid_view_View_Ljava_util_HashMap_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/res/Resources;Landroid/view/View;Ljava/util/HashMap;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_res_Resources_Landroid_view_View_Ljava_util_HashMap_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_res_Resources_Landroid_view_View_Ljava_util_HashMap_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_featuresConfiguration);
            }
        }
示例#26
0
        public unsafe MessageSenderTimerTask(global::Com.Applozic.Mobicomkit.Api.Conversation.MobiComMessageService p0, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (((object)this).GetType() != typeof(MessageSenderTimerTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/applozic/mobicomkit/api/conversation/MobiComMessageService;Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/applozic/mobicomkit/api/conversation/MobiComMessageService;Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/applozic/mobicomkit/api/conversation/MobiComMessageService;Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public unsafe ConnectionTasksHolder(global::Com.Liveperson.Infra.Statemachine.Interfaces.IStateMachine p0, global::Com.Liveperson.Messaging.Controller.Connection.IMessagingStateMachineInterface p1, string p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (((object)this).GetType() != typeof(ConnectionTasksHolder))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachine;Lcom/liveperson/messaging/controller/connection/MessagingStateMachineInterface;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachine;Lcom/liveperson/messaging/controller/connection/MessagingStateMachineInterface;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/infra/statemachine/interfaces/IStateMachine;Lcom/liveperson/messaging/controller/connection/MessagingStateMachineInterface;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_infra_statemachine_interfaces_IStateMachine_Lcom_liveperson_messaging_controller_connection_MessagingStateMachineInterface_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public unsafe SpdyRequest(global::Java.Net.URL p0, string p1, global::Org.Android.Spdy.RequestPriority p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(SpdyRequest))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/net/URL;Ljava/lang/String;Lorg/android/spdy/RequestPriority;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Ljava/net/URL;Ljava/lang/String;Lorg/android/spdy/RequestPriority;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_net_URL_Ljava_lang_String_Lorg_android_spdy_RequestPriority_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_net_URL_Ljava_lang_String_Lorg_android_spdy_RequestPriority_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/net/URL;Ljava/lang/String;Lorg/android/spdy/RequestPriority;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_net_URL_Ljava_lang_String_Lorg_android_spdy_RequestPriority_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Ljava_net_URL_Ljava_lang_String_Lorg_android_spdy_RequestPriority_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
示例#29
0
        public unsafe StopProcessException(string p0, int p1, int p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Throwable) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (((object)this).GetType() != typeof(StopProcessException))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/String;II)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Throwable) this).Handle, "(Ljava/lang/String;II)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_String_II == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_String_II = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/String;II)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_String_II, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Throwable) this).Handle, class_ref, id_ctor_Ljava_lang_String_II, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
示例#30
0
        public unsafe PropertyNotFoundException(global::Java.Lang.Class klass, global::Java.Lang.Class type, string fieldName)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Throwable) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_fieldName = JNIEnv.NewString(fieldName);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(klass);
                __args [1] = new JValue(type);
                __args [2] = new JValue(native_fieldName);
                if (((object)this).GetType() != typeof(PropertyNotFoundException))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Throwable) this).Handle, "(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Ljava_lang_Class_Ljava_lang_Class_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Ljava_lang_Class_Ljava_lang_Class_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_lang_Class_Ljava_lang_Class_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Throwable) this).Handle, class_ref, id_ctor_Ljava_lang_Class_Ljava_lang_Class_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_fieldName);
            }
        }