ShareSDKImpl.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.18408
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. using System;
  11. using System.Collections;
  12. namespace cn.sharesdk.unity3d{
  13. public abstract class ShareSDKImpl{
  14. /// <summary>
  15. /// Init the ShareSDK.
  16. /// </summary>
  17. public abstract void InitSDK (String appKey);
  18. /// <summary>
  19. /// Sets the platform config.
  20. /// </summary>
  21. public abstract void SetPlatformConfig (Hashtable configs);
  22. /// <summary>
  23. /// Authorize the specified platform.
  24. /// </summary>
  25. public abstract void Authorize (int reqID, PlatformType platform);
  26. /// <summary>
  27. /// Removes the account of the specified platform.
  28. /// </summary>
  29. public abstract void CancelAuthorize (PlatformType platform);
  30. /// <summary>
  31. /// Determine weather the account of the specified platform is valid.
  32. /// </summary>
  33. public abstract bool IsAuthorized (PlatformType platform);
  34. /// <summary>
  35. /// Determine weather the APP-Client of platform is valid.
  36. /// </summary>
  37. public abstract bool IsClientValid (PlatformType platform);
  38. /// <summary>
  39. /// Request the user info of the specified platform.
  40. /// </summary>
  41. public abstract void GetUserInfo (int reqID, PlatformType platform);
  42. /// <summary>
  43. /// Share the content to the specified platform with api.
  44. /// </summary>
  45. public abstract void ShareContent (int reqID, PlatformType platform, ShareContent content);
  46. /// <summary>
  47. /// Share the content to the specified platform with api.
  48. /// </summary>
  49. public abstract void ShareContent (int reqID, PlatformType[] platforms, ShareContent content);
  50. /// <summary>
  51. /// Show the platform list to share.
  52. /// </summary>
  53. public abstract void ShowPlatformList (int reqID, PlatformType[] platforms, ShareContent content, int x, int y);
  54. /// <summary>
  55. /// OGUI share to the specified platform.
  56. /// </summary>
  57. public abstract void ShowShareContentEditor (int reqID, PlatformType platform, ShareContent content);
  58. /// <summary>
  59. /// share according to the name of node<Content> in ShareContent.xml(in ShareSDKConfigFile.bunle,you can find it in xcode - ShareSDK folider) [only valid in iOS temporarily)]
  60. /// </summary>
  61. public abstract void ShareWithContentName (int reqId, PlatformType platform, string contentName, Hashtable customFields);
  62. /// <summary>
  63. /// show share platform list according to the name of node<Content> in ShareContent.xml file(in ShareSDKConfigFile.bunle,you can find it in xcode - ShareSDK folider) [only valid in iOS temporarily)]
  64. /// </summary>
  65. public abstract void ShowPlatformListWithContentName (int reqId, string contentName, Hashtable customFields, PlatformType[] platforms, int x, int y);
  66. /// <summary>
  67. /// show share content editor according to the name of node<Content> in ShareContent.xml file(in ShareSDKConfigFile.bunle,you can find it in xcode - ShareSDK folider) [only valid in iOS temporarily)]
  68. /// </summary>
  69. public abstract void ShowShareContentEditorWithContentName (int reqId, PlatformType platform, string contentName, Hashtable customFields);
  70. /// <summary>
  71. /// Gets the friend list.
  72. /// </summary>
  73. public abstract void GetFriendList (int reqID, PlatformType platform, int count, int page);
  74. /// <summary>
  75. /// Follows the friend.
  76. /// </summary>
  77. public abstract void AddFriend (int reqID, PlatformType platform, String account);
  78. /// <summary>
  79. /// Gets the auth info.
  80. /// </summary>
  81. public abstract Hashtable GetAuthInfo (PlatformType platform);
  82. /// <summary>
  83. /// the setting of SSO
  84. /// </summary>
  85. public abstract void DisableSSO (Boolean disable);
  86. }
  87. }