Exemple #1
0
        static void n_SetOpenId_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Umeng.QQ.Tencent.Tencent __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.QQ.Tencent.Tencent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.SetOpenId(p0);
        }
Exemple #2
0
        static bool n_IsSupportSSOLogin_Landroid_app_Activity_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Umeng.QQ.Tencent.Tencent __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.QQ.Tencent.Tencent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.App.Activity         p0     = global::Java.Lang.Object.GetObject <global::Android.App.Activity> (native_p0, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.IsSupportSSOLogin(p0);

            return(__ret);
        }
Exemple #3
0
        public static unsafe global::Com.Umeng.QQ.Tencent.Tencent CreateInstance(string p0, global::Android.Content.Context p1)
        {
            if (id_createInstance_Ljava_lang_String_Landroid_content_Context_ == IntPtr.Zero)
            {
                id_createInstance_Ljava_lang_String_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "createInstance", "(Ljava/lang/String;Landroid/content/Context;)Lcom/umeng/qq/tencent/Tencent;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                global::Com.Umeng.QQ.Tencent.Tencent __ret = global::Java.Lang.Object.GetObject <global::Com.Umeng.QQ.Tencent.Tencent> (JNIEnv.CallStaticObjectMethod(class_ref, id_createInstance_Ljava_lang_String_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Exemple #4
0
 static IntPtr n_GetAppId(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Umeng.QQ.Tencent.Tencent __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.QQ.Tencent.Tencent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.AppId));
 }
Exemple #5
0
 static void n_Release(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Umeng.QQ.Tencent.Tencent __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.QQ.Tencent.Tencent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Release();
 }