public unsafe ApplozicBroadcastReceiver(global::Android.Content.Context p0, global::Com.Applozic.Mobicomkit.Listners.IApplozicUIListener p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

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

                if (id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/applozic/mobicomkit/listners/ApplozicUIListener;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_, __args);
            } finally {
            }
        }
        public virtual unsafe void RegisterUIListener(global::Com.Applozic.Mobicomkit.Listners.IApplozicUIListener p0)
        {
            if (id_registerUIListener_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_ == IntPtr.Zero)
            {
                id_registerUIListener_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_ = JNIEnv.GetMethodID(class_ref, "registerUIListener", "(Lcom/applozic/mobicomkit/listners/ApplozicUIListener;)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_registerUIListener_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "registerUIListener", "(Lcom/applozic/mobicomkit/listners/ApplozicUIListener;)V"), __args);
                }
            } finally {
            }
        }
 static void n_RegisterUIListener_Lcom_applozic_mobicomkit_listners_ApplozicUIListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicomkit.Applozic __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Applozic> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Listners.IApplozicUIListener p0 = (global::Com.Applozic.Mobicomkit.Listners.IApplozicUIListener)global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Listners.IApplozicUIListener> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RegisterUIListener(p0);
 }