C# Class DoubanSDK.DoubanAPI

Exibir arquivo Open project: thankcreate/Care Class Usage Examples

Public Properties

Property Type Description
DoubanInfo DoubanAppInfo

Public Methods

Method Description
AddComments ( String id, String text, CompleteHandler hanlder ) : void
GetComments ( String id, int count, GetCommentsCompleteHandler handler ) : void
GetFollowingUserList ( String id, GetFollowingUserListCompleteHandler handler ) : void
GetMyUserInfo ( GetUserInfoCompletedHandler handler ) : void
GetUserTimeLine ( String id, int count, GetUserTimeLineCompleteHandler handler ) : void
IsAccessTokenOutOfDate ( ) : bool
IsAccessTokenValid ( ) : bool
LogOut ( ) : void
PostStatusesWithPic ( String text, String path, CompleteHandler hanlder ) : void
RefreshToken ( OAuth2LoginBack hander ) : void

Method Details

AddComments() public method

public AddComments ( String id, String text, CompleteHandler hanlder ) : void
id String
text String
hanlder CompleteHandler
return void

GetComments() public method

public GetComments ( String id, int count, GetCommentsCompleteHandler handler ) : void
id String
count int
handler GetCommentsCompleteHandler
return void

GetFollowingUserList() public method

public GetFollowingUserList ( String id, GetFollowingUserListCompleteHandler handler ) : void
id String
handler GetFollowingUserListCompleteHandler
return void

GetMyUserInfo() public method

public GetMyUserInfo ( GetUserInfoCompletedHandler handler ) : void
handler GetUserInfoCompletedHandler
return void

GetUserTimeLine() public method

public GetUserTimeLine ( String id, int count, GetUserTimeLineCompleteHandler handler ) : void
id String
count int
handler GetUserTimeLineCompleteHandler
return void

IsAccessTokenOutOfDate() public method

public IsAccessTokenOutOfDate ( ) : bool
return bool

IsAccessTokenValid() public method

public IsAccessTokenValid ( ) : bool
return bool

LogOut() public method

public LogOut ( ) : void
return void

PostStatusesWithPic() public method

public PostStatusesWithPic ( String text, String path, CompleteHandler hanlder ) : void
text String
path String
hanlder CompleteHandler
return void

RefreshToken() public method

public RefreshToken ( OAuth2LoginBack hander ) : void
hander OAuth2LoginBack
return void

Property Details

DoubanInfo public_oe static_oe property

public static DoubanAppInfo,DoubanSDK DoubanInfo
return DoubanAppInfo