Example usage for twitter4j TwitterMethod HOME_TIMELINE

List of usage examples for twitter4j TwitterMethod HOME_TIMELINE

Introduction

In this page you can find the example usage for twitter4j TwitterMethod HOME_TIMELINE.

Prototype

TwitterMethod HOME_TIMELINE

To view the source code for twitter4j TwitterMethod HOME_TIMELINE.

Click Source Link

Usage

From source file:com.marpies.ane.twitter.functions.GetHomeTimelineFunction.java

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.HOME_TIMELINE) {
        AIR.log("HOME TIMELINE ERROR " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.TIMELINE_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }// w w  w.j av  a 2  s.  c om
}