Beispiel #1
0
        static bool n_SendRequest_Landroid_app_Activity_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_sina_auth_AuthInfo_Ljava_lang_String_Lcom_umeng_socialize_UMShareListener_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, IntPtr native_p3, IntPtr native_p4, bool p5)
        {
            global::Com.Umeng.Socialize.Sina.SinaAPI             __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.SinaAPI> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.App.Activity                         p0     = global::Java.Lang.Object.GetObject <global::Android.App.Activity> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Umeng.Socialize.Sina.Message.BaseRequest p1     = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.Message.BaseRequest> (native_p1, JniHandleOwnership.DoNotTransfer);
            global::Com.Umeng.Socialize.Sina.Auth.AuthInfo       p2     = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.Auth.AuthInfo> (native_p2, JniHandleOwnership.DoNotTransfer);
            string p3 = JNIEnv.GetString(native_p3, JniHandleOwnership.DoNotTransfer);

            global::Com.Umeng.Socialize.IUMShareListener p4 = (global::Com.Umeng.Socialize.IUMShareListener)global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.IUMShareListener> (native_p4, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.SendRequest(p0, p1, p2, p3, p4, p5);

            return(__ret);
        }
Beispiel #2
0
 public static unsafe global::Com.Umeng.Socialize.Sina.Auth.AuthInfo ParseBundleData(global::Android.Content.Context p0, global::Android.OS.Bundle p1)
 {
     if (id_parseBundleData_Landroid_content_Context_Landroid_os_Bundle_ == IntPtr.Zero)
     {
         id_parseBundleData_Landroid_content_Context_Landroid_os_Bundle_ = JNIEnv.GetStaticMethodID(class_ref, "parseBundleData", "(Landroid/content/Context;Landroid/os/Bundle;)Lcom/umeng/socialize/sina/auth/AuthInfo;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Com.Umeng.Socialize.Sina.Auth.AuthInfo __ret = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.Auth.AuthInfo> (JNIEnv.CallStaticObjectMethod(class_ref, id_parseBundleData_Landroid_content_Context_Landroid_os_Bundle_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Beispiel #3
0
 static IntPtr n_GetAppKey(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Umeng.Socialize.Sina.Auth.AuthInfo __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.Auth.AuthInfo> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.AppKey));
 }
Beispiel #4
0
        public virtual unsafe bool SendRequest(global::Android.App.Activity p0, global::Com.Umeng.Socialize.Sina.Message.BaseRequest p1, global::Com.Umeng.Socialize.Sina.Auth.AuthInfo p2, string p3, global::Com.Umeng.Socialize.IUMShareListener p4, bool p5)
        {
            if (id_sendRequest_Landroid_app_Activity_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_sina_auth_AuthInfo_Ljava_lang_String_Lcom_umeng_socialize_UMShareListener_Z == IntPtr.Zero)
            {
                id_sendRequest_Landroid_app_Activity_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_sina_auth_AuthInfo_Ljava_lang_String_Lcom_umeng_socialize_UMShareListener_Z = JNIEnv.GetMethodID(class_ref, "sendRequest", "(Landroid/app/Activity;Lcom/umeng/socialize/sina/message/BaseRequest;Lcom/umeng/socialize/sina/auth/AuthInfo;Ljava/lang/String;Lcom/umeng/socialize/UMShareListener;Z)Z");
            }
            IntPtr native_p3 = JNIEnv.NewString(p3);

            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(native_p3);
                __args [4] = new JValue(p4);
                __args [5] = new JValue(p5);

                bool __ret;
                if (GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_sendRequest_Landroid_app_Activity_Lcom_umeng_socialize_sina_message_BaseRequest_Lcom_umeng_socialize_sina_auth_AuthInfo_Ljava_lang_String_Lcom_umeng_socialize_UMShareListener_Z, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "sendRequest", "(Landroid/app/Activity;Lcom/umeng/socialize/sina/message/BaseRequest;Lcom/umeng/socialize/sina/auth/AuthInfo;Ljava/lang/String;Lcom/umeng/socialize/UMShareListener;Z)Z"), __args);
                }
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p3);
            }
        }