C# Class OpenTween.Connection.imgly

Inheritance: IMediaUploadService
Datei anzeigen Open project: opentween/OpenTween

Public Methods

Method Description
CheckFileExtension ( string fileExtension ) : bool
CheckFileSize ( string fileExtension, long fileSize ) : bool
GetMaxFileSize ( string fileExtension ) : long?
GetReservedTextLength ( int mediaCount ) : int
PostStatusAsync ( string text, long inReplyToStatusId, IMediaItem mediaItems ) : System.Threading.Tasks.Task
UpdateTwitterConfiguration ( OpenTween.Api.TwitterConfiguration config ) : void
imgly ( Twitter twitter, OpenTween.Api.TwitterConfiguration twitterConfig ) : System

Method Details

CheckFileExtension() public method

public CheckFileExtension ( string fileExtension ) : bool
fileExtension string
return bool

CheckFileSize() public method

public CheckFileSize ( string fileExtension, long fileSize ) : bool
fileExtension string
fileSize long
return bool

GetMaxFileSize() public method

public GetMaxFileSize ( string fileExtension ) : long?
fileExtension string
return long?

GetReservedTextLength() public method

public GetReservedTextLength ( int mediaCount ) : int
mediaCount int
return int

PostStatusAsync() public method

public PostStatusAsync ( string text, long inReplyToStatusId, IMediaItem mediaItems ) : System.Threading.Tasks.Task
text string
inReplyToStatusId long
mediaItems IMediaItem
return System.Threading.Tasks.Task

UpdateTwitterConfiguration() public method

public UpdateTwitterConfiguration ( OpenTween.Api.TwitterConfiguration config ) : void
config OpenTween.Api.TwitterConfiguration
return void

imgly() public method

public imgly ( Twitter twitter, OpenTween.Api.TwitterConfiguration twitterConfig ) : System
twitter Twitter
twitterConfig OpenTween.Api.TwitterConfiguration
return System