Beispiel #1
0
        public unsafe void A(global::Com.Umeng.Socialize.Sina.Message.BaseResponse p0)
        {
            if (id_a_Lcom_umeng_socialize_sina_message_BaseResponse_ == IntPtr.Zero)
            {
                id_a_Lcom_umeng_socialize_sina_message_BaseResponse_ = JNIEnv.GetMethodID(class_ref, "a", "(Lcom/umeng/socialize/sina/message/BaseResponse;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_a_Lcom_umeng_socialize_sina_message_BaseResponse_, __args);
        }
        public virtual unsafe void OnResponse(global::Com.Umeng.Socialize.Sina.Message.BaseResponse p0)
        {
            if (id_onResponse_Lcom_umeng_socialize_sina_message_BaseResponse_ == IntPtr.Zero)
            {
                id_onResponse_Lcom_umeng_socialize_sina_message_BaseResponse_ = JNIEnv.GetMethodID(class_ref, "onResponse", "(Lcom/umeng/socialize/sina/message/BaseResponse;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onResponse_Lcom_umeng_socialize_sina_message_BaseResponse_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onResponse", "(Lcom/umeng/socialize/sina/message/BaseResponse;)V"), __args);
                }
            } finally {
            }
        }
Beispiel #3
0
 static void n_A_Lcom_umeng_socialize_sina_message_BaseResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Umeng.Socialize.Media.IWeiboHandlerResponse __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.IWeiboHandlerResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Umeng.Socialize.Sina.Message.BaseResponse   p0     = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.Message.BaseResponse> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.A(p0);
 }
Beispiel #4
0
 static void n_ToBundle_Landroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Umeng.Socialize.Sina.Message.BaseResponse __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Sina.Message.BaseResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Bundle p0 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ToBundle(p0);
 }