Example #1
0
        static bool n_Code_Lcom_huawei_openalliance_ad_inter_data_AppInfo_J(IntPtr jnienv, IntPtr native__this, IntPtr native_param0, long param1)
        {
            global::Com.Huawei.Openalliance.AD.Inter.Listeners.INonwifiActionListener __this = global::Java.Lang.Object.GetObject <global::Com.Huawei.Openalliance.AD.Inter.Listeners.INonwifiActionListener>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Huawei.Openalliance.AD.Inter.Data.AppInfo param0 = global::Java.Lang.Object.GetObject <global::Com.Huawei.Openalliance.AD.Inter.Data.AppInfo>(native_param0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.Code(param0, param1);

            return(__ret);
        }
Example #2
0
#pragma warning restore 0649

        public bool Code(global::Com.Huawei.Openalliance.AD.Inter.Data.AppInfo param0, long param1)
        {
            var __h = CodeHandler;

            if (__h == null)
            {
                return(false);
            }
            var __e = new CodeEventArgs(true, param0, param1);

            __h(sender, __e);
            return(__e.Handled);
        }
Example #3
0
        public unsafe bool Code(global::Com.Huawei.Openalliance.AD.Inter.Data.AppInfo param0, long param1)
        {
            if (id_Code_Lcom_huawei_openalliance_ad_inter_data_AppInfo_J == IntPtr.Zero)
            {
                id_Code_Lcom_huawei_openalliance_ad_inter_data_AppInfo_J = JNIEnv.GetMethodID(class_ref, "Code", "(Lcom/huawei/openalliance/ad/inter/data/AppInfo;J)Z");
            }
            JValue *__args = stackalloc JValue[2];

            __args[0] = new JValue((param0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)param0).Handle);
            __args[1] = new JValue(param1);
            bool __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_Code_Lcom_huawei_openalliance_ad_inter_data_AppInfo_J, __args);

            return(__ret);
        }
Example #4
0
 public CodeEventArgs(bool mhandled, global::Com.Huawei.Openalliance.AD.Inter.Data.AppInfo param0, long param1)
 {
     this.mhandled = mhandled;
     this.param0   = param0;
     this.param1   = param1;
 }