C# Class Videos.SapoServices.VideosServiceClient

显示文件 Open project: sapo/sapo-services-sdk Class Usage Examples

Public Methods

Method Description
CreateVideoAsync ( IStorageFile file, System.Video v ) : Task
DeleteVideoAsync ( string randname ) : void
EditVideoAsync ( VideoSubmition v ) : void
GetUserAsync ( string username ) : Task
GetUserVideos ( string email, string Interface, string order, int limit, int page ) : Task
GetVideoAsync ( string videoId, string email, string videoRandname, string Interface, int showComments ) : Task
QueryAsync ( string emails, string tags, int cos, int limit, string order, int viewAll, string itfc, int showTags ) : Task
VideosServiceClient ( string username, string password, string accessKey ) : System

Private Methods

Method Description
CreateUploadOperationForCreateVideo ( IStorageFile file, string token, BackgroundUploader uploader ) : Task
GetResponseMessage ( UploadOperation uploadOperation ) : Task

Method Details

CreateVideoAsync() public method

public CreateVideoAsync ( IStorageFile file, System.Video v ) : Task
file IStorageFile
v System.Video
return Task

DeleteVideoAsync() public method

public DeleteVideoAsync ( string randname ) : void
randname string
return void

EditVideoAsync() public method

public EditVideoAsync ( VideoSubmition v ) : void
v VideoSubmition
return void

GetUserAsync() public method

public GetUserAsync ( string username ) : Task
username string
return Task

GetUserVideos() public method

public GetUserVideos ( string email, string Interface, string order, int limit, int page ) : Task
email string
Interface string
order string
limit int
page int
return Task

GetVideoAsync() public method

public GetVideoAsync ( string videoId, string email, string videoRandname, string Interface, int showComments ) : Task
videoId string
email string
videoRandname string
Interface string
showComments int
return Task

QueryAsync() public method

public QueryAsync ( string emails, string tags, int cos, int limit, string order, int viewAll, string itfc, int showTags ) : Task
emails string
tags string
cos int
limit int
order string
viewAll int
itfc string
showTags int
return Task

VideosServiceClient() public method

public VideosServiceClient ( string username, string password, string accessKey ) : System
username string
password string
accessKey string
return System