Esempio n. 1
0
 static void n_OnAuthError_Lcom_umeng_socialize_bean_SHARE_MEDIA_ILjava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2)
 {
     global::Com.Umeng.Socialize.IUMAuthListener  __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.IUMAuthListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Umeng.Socialize.Bean.SHARE_MEDIA p0     = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Bean.SHARE_MEDIA> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Throwable p2 = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.OnAuthError(p0, p1, p2);
 }
Esempio n. 2
0
        static void n_OnAuthComplete_Lcom_umeng_socialize_bean_SHARE_MEDIA_ILjava_util_Map_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2)
        {
            global::Com.Umeng.Socialize.IUMAuthListener  __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.IUMAuthListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Umeng.Socialize.Bean.SHARE_MEDIA p0     = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Bean.SHARE_MEDIA> (native_p0, JniHandleOwnership.DoNotTransfer);
            var p2 = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(native_p2, JniHandleOwnership.DoNotTransfer);

            __this.OnAuthComplete(p0, p1, p2);
        }
 public unsafe void OnCreate(global::Android.App.Activity p0, int p1, global::Com.Umeng.Socialize.IUMAuthListener p2)
 {
     if (id_onCreate_Landroid_app_Activity_ILcom_umeng_socialize_UMAuthListener_ == IntPtr.Zero)
     {
         id_onCreate_Landroid_app_Activity_ILcom_umeng_socialize_UMAuthListener_ = JNIEnv.GetMethodID(class_ref, "onCreate", "(Landroid/app/Activity;ILcom/umeng/socialize/UMAuthListener;)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onCreate_Landroid_app_Activity_ILcom_umeng_socialize_UMAuthListener_, __args);
     } finally {
     }
 }
 public unsafe void GetPlatformInfo(global::Android.App.Activity p0, global::Com.Umeng.Socialize.Bean.SHARE_MEDIA p1, global::Com.Umeng.Socialize.IUMAuthListener p2)
 {
     if (id_getPlatformInfo_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_ == IntPtr.Zero)
     {
         id_getPlatformInfo_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_ = JNIEnv.GetMethodID(class_ref, "getPlatformInfo", "(Landroid/app/Activity;Lcom/umeng/socialize/bean/SHARE_MEDIA;Lcom/umeng/socialize/UMAuthListener;)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_getPlatformInfo_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_, __args);
     } finally {
     }
 }
 public unsafe void FetchAuthResultWithBundle(global::Android.App.Activity p0, global::Android.OS.Bundle p1, global::Com.Umeng.Socialize.IUMAuthListener p2)
 {
     if (id_fetchAuthResultWithBundle_Landroid_app_Activity_Landroid_os_Bundle_Lcom_umeng_socialize_UMAuthListener_ == IntPtr.Zero)
     {
         id_fetchAuthResultWithBundle_Landroid_app_Activity_Landroid_os_Bundle_Lcom_umeng_socialize_UMAuthListener_ = JNIEnv.GetMethodID(class_ref, "fetchAuthResultWithBundle", "(Landroid/app/Activity;Landroid/os/Bundle;Lcom/umeng/socialize/UMAuthListener;)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_fetchAuthResultWithBundle_Landroid_app_Activity_Landroid_os_Bundle_Lcom_umeng_socialize_UMAuthListener_, __args);
     } finally {
     }
 }
Esempio n. 6
0
        public unsafe OauthDialog(global::Android.App.Activity p0, global::Com.Umeng.Socialize.Bean.SHARE_MEDIA p1, global::Com.Umeng.Socialize.IUMAuthListener p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                if (GetType() != typeof(OauthDialog))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/app/Activity;Lcom/umeng/socialize/bean/SHARE_MEDIA;Lcom/umeng/socialize/UMAuthListener;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/app/Activity;Lcom/umeng/socialize/bean/SHARE_MEDIA;Lcom/umeng/socialize/UMAuthListener;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/app/Activity;Lcom/umeng/socialize/bean/SHARE_MEDIA;Lcom/umeng/socialize/UMAuthListener;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_app_Activity_Lcom_umeng_socialize_bean_SHARE_MEDIA_Lcom_umeng_socialize_UMAuthListener_, __args);
            } finally {
            }
        }
Esempio n. 7
0
 static void n_OnAuthStart_Lcom_umeng_socialize_bean_SHARE_MEDIA_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Umeng.Socialize.IUMAuthListener  __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.IUMAuthListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Umeng.Socialize.Bean.SHARE_MEDIA p0     = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Bean.SHARE_MEDIA> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnAuthStart(p0);
 }