com.twitterapime.search
Interface SearchDeviceListener


public interface SearchDeviceListener

This interface defines the methods of a listener interested on the result of a search operation from SearchDevice class.

Since:
1.0
Version:
1.1
Author:
Ernandes Mourao Junior (ernandes@gmail.com)
See Also:
SearchDevice, Tweet, Timeline

Method Summary
 void searchCompleted()
           This method is called when the search operation is completed.
 void searchFailed(java.lang.Throwable cause)
           This method is called when an exception is thrown during the search operation.
 void tweetFound(Tweet tweet)
           This method is called when a tweet is received.
 

Method Detail

tweetFound

void tweetFound(Tweet tweet)

This method is called when a tweet is received.

Parameters:
tweet - Tweet found.

searchCompleted

void searchCompleted()

This method is called when the search operation is completed.


searchFailed

void searchFailed(java.lang.Throwable cause)

This method is called when an exception is thrown during the search operation. When a exception is thrown the search is finished.

Parameters:
cause - The thrown exception.


Copyright © 2010 Twitter API ME Team. All Rights Reserved.