ISocialPlatform.cs 523 B

12345678910111213141516171819
  1. using UnityEngine;
  2. using System.Collections;
  3. namespace DashGame
  4. {
  5. public interface ISocialPlatform
  6. {
  7. void Init(CallBackUtil.BoolCallBack callBack);
  8. bool IsInitialized();
  9. void Login(CallBackUtil.BoolCallBack callBack);
  10. bool IsLoggedIn();
  11. void RequestFriends(CallBackUtil.BoolCallBack callBack);
  12. SocialUser[] GetFriends();
  13. SocialUser GetMe();
  14. void Share (string contentURL, string contentTitle, string contentDescription, string photoURL, CallBackUtil.BoolCallBack callBack);
  15. string IconPath();
  16. }
  17. }