public void snsLoginFailure(string data) { if (OnSNSEvent != null && OnSNSEvent.GetInvocationList().Length > 0) { OnSNSEvent(RiseSdk.SnsEventType.LoginFailed, 0); } }
public void snsShareCancel(string data) { if (OnSNSEvent != null && OnSNSEvent.GetInvocationList().Length > 0) { OnSNSEvent(RiseSdk.SnsEventType.ShareCancel, 0); } }
/// <summary> /// faceboook发起挑战的结果回调方法,SDK自动调用。 /// </summary> /// <param name="result">返回的结果数据</param> public void onReceiveChallengeResult(string result) { if (OnSNSEvent != null && OnSNSEvent.GetInvocationList().Length > 0) { int count = int.Parse(result); OnSNSEvent(count > 0 ? RiseSdk.SnsEventType.ChallengeSuccess : RiseSdk.SnsEventType.ChallengeFailed, count); } }
/// <summary> /// faceboook点赞的结果回调方法,SDK自动调用。 /// </summary> /// <param name="result">返回的结果数据</param> public void onReceiveLikeResult(string result) { if (OnSNSEvent != null && OnSNSEvent.GetInvocationList().Length > 0) { int success = int.Parse(result); OnSNSEvent(success == 0 ? RiseSdk.SnsEventType.LikeSuccess : RiseSdk.SnsEventType.LikeFailed, 0); } }
/// <summary> /// faceboook发起挑战的结果回调方法,SDK自动调用。 /// </summary> /// <param name="result">返回的结果数据</param> public void onReceiveChallengeResult(string result) { int count = int.Parse(result); if (OnSNSEvent != null && OnSNSEvent.GetInvocationList().Length > 0) { OnSNSEvent(count > 0, RiseSdk.SNS_EVENT_CHALLENGE, count); } }
/// <summary> /// faceboook点赞的结果回调方法,SDK自动调用。 /// </summary> /// <param name="result">返回的结果数据</param> public void onReceiveLikeResult(string result) { int success = int.Parse(result); if (OnSNSEvent != null && OnSNSEvent.GetInvocationList().Length > 0) { OnSNSEvent(success == 0, RiseSdk.SNS_EVENT_LIKE, 0); } }