C# 클래스 P02Project.Twitter

Provides interaction with the Twitter. Offers methods to retrive and post methods. Posts are made to @nzokdat and tweets are retrived from @ChildCancerNZ
파일 보기 프로젝트 열기: raouldc/OptiDev 1 사용 예제들

공개 메소드들

메소드 설명
Twitter ( ) : System

Constructor

Twitter ( Webcam us ) : System

Constructor

getBitmapImageForUrl ( String url ) : BitmapImage

Utility method that returns the bitmap with the contents of the url

getImageUrlsForTweet ( TwitterStatus tweet ) : List

Utility method that gets the image urls for a tweet.

getTweets ( ) : IEnumerable

Returns the tweets for ChildCancerNZ

postTweet ( String message, System.Windows.Media.Imaging.BitmapSource bitsource, DependencyObject depO ) : void

Post a message and image (from the webcam), Posts are made to @nzokdat

비공개 메소드들

메소드 설명
BitmapFromSource ( System.Windows.Media.Imaging.BitmapSource bitmapsource ) : Bitmap

get a bitmap of images to write out

initializeWorkers ( ) : void

Constructor helper

m_oWorker_DoWork ( object sender, DoWorkEventArgs e ) : void

Uploading image, done on a different thread.

m_oWorker_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void

Any notification of progress can be done here.

m_oWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

thread run back process is complete

메소드 상세

Twitter() 공개 메소드

Constructor
public Twitter ( ) : System
리턴 System

Twitter() 공개 메소드

Constructor
public Twitter ( Webcam us ) : System
us Webcam
리턴 System

getBitmapImageForUrl() 공개 메소드

Utility method that returns the bitmap with the contents of the url
public getBitmapImageForUrl ( String url ) : BitmapImage
url String
리턴 System.Windows.Media.Imaging.BitmapImage

getImageUrlsForTweet() 공개 메소드

Utility method that gets the image urls for a tweet.
public getImageUrlsForTweet ( TwitterStatus tweet ) : List
tweet TwitterStatus
리턴 List

getTweets() 공개 메소드

Returns the tweets for ChildCancerNZ
public getTweets ( ) : IEnumerable
리턴 IEnumerable

postTweet() 공개 메소드

Post a message and image (from the webcam), Posts are made to @nzokdat
public postTweet ( String message, System.Windows.Media.Imaging.BitmapSource bitsource, DependencyObject depO ) : void
message String
bitsource System.Windows.Media.Imaging.BitmapSource
depO System.Windows.DependencyObject
리턴 void