static bool n_Share_Lcom_umeng_socialize_ShareAction_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Umeng.Socialize.Controller.SocialRouter.ParamsGuard __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Controller.SocialRouter.ParamsGuard> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Umeng.Socialize.ShareAction p0 = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.ShareAction> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.Share(p0); return(__ret); }
public unsafe void Share(global::Android.App.Activity p0, global::Com.Umeng.Socialize.ShareAction p1, global::Com.Umeng.Socialize.IUMShareListener p2) { if (id_share_Landroid_app_Activity_Lcom_umeng_socialize_ShareAction_Lcom_umeng_socialize_UMShareListener_ == IntPtr.Zero) { id_share_Landroid_app_Activity_Lcom_umeng_socialize_ShareAction_Lcom_umeng_socialize_UMShareListener_ = JNIEnv.GetMethodID(class_ref, "share", "(Landroid/app/Activity;Lcom/umeng/socialize/ShareAction;Lcom/umeng/socialize/UMShareListener;)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_share_Landroid_app_Activity_Lcom_umeng_socialize_ShareAction_Lcom_umeng_socialize_UMShareListener_, __args); } finally { } }
public virtual unsafe bool Share(global::Com.Umeng.Socialize.ShareAction p0) { if (id_share_Lcom_umeng_socialize_ShareAction_ == IntPtr.Zero) { id_share_Lcom_umeng_socialize_ShareAction_ = JNIEnv.GetMethodID(class_ref, "share", "(Lcom/umeng/socialize/ShareAction;)Z"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); bool __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(((global::Java.Lang.Object) this).Handle, id_share_Lcom_umeng_socialize_ShareAction_, __args); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "share", "(Lcom/umeng/socialize/ShareAction;)Z"), __args); } return(__ret); } finally { } }