//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.18408 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; using System.Collections; namespace cn.sharesdk.unity3d{ public abstract class ShareSDKImpl{ /// /// Init the ShareSDK. /// public abstract void InitSDK (String appKey); public abstract void InitSDK (String appKey,String screct); /// /// Sets the platform config. /// public abstract void SetPlatformConfig (Hashtable configs); /// /// Authorize the specified platform. /// public abstract void Authorize (int reqID, PlatformType platform); /// /// Removes the account of the specified platform. /// public abstract void CancelAuthorize (PlatformType platform); /// /// Determine weather the account of the specified platform is valid. /// public abstract bool IsAuthorized (PlatformType platform); /// /// Determine weather the APP-Client of platform is valid. /// public abstract bool IsClientValid (PlatformType platform); /// /// Request the user info of the specified platform. /// public abstract void GetUserInfo (int reqID, PlatformType platform); /// /// Share the content to the specified platform with api. /// public abstract void ShareContent (int reqID, PlatformType platform, ShareContent content); /// /// Share the content to the specified platform with api. /// public abstract void ShareContent (int reqID, PlatformType[] platforms, ShareContent content); /// /// Show the platform list to share. /// public abstract void ShowPlatformList (int reqID, PlatformType[] platforms, ShareContent content, int x, int y); /// /// OGUI share to the specified platform. /// public abstract void ShowShareContentEditor (int reqID, PlatformType platform, ShareContent content); /// /// share according to the name of node in ShareContent.xml(in ShareSDKConfigFile.bunle,you can find it in xcode - ShareSDK folider) [only valid in iOS temporarily)] /// public abstract void ShareWithContentName (int reqId, PlatformType platform, string contentName, Hashtable customFields); /// /// show share platform list according to the name of node in ShareContent.xml file(in ShareSDKConfigFile.bunle,you can find it in xcode - ShareSDK folider) [only valid in iOS temporarily)] /// public abstract void ShowPlatformListWithContentName (int reqId, string contentName, Hashtable customFields, PlatformType[] platforms, int x, int y); /// /// show share content editor according to the name of node in ShareContent.xml file(in ShareSDKConfigFile.bunle,you can find it in xcode - ShareSDK folider) [only valid in iOS temporarily)] /// public abstract void ShowShareContentEditorWithContentName (int reqId, PlatformType platform, string contentName, Hashtable customFields); /// /// Gets the friend list. /// public abstract void GetFriendList (int reqID, PlatformType platform, int count, int page); /// /// Follows the friend. /// public abstract void AddFriend (int reqID, PlatformType platform, String account); /// /// Gets the auth info. /// public abstract Hashtable GetAuthInfo (PlatformType platform); /// /// the setting of SSO /// public abstract void DisableSSO (Boolean disable); } }