Example usage for twitter4j TwitterMethod UPDATE_STATUS

List of usage examples for twitter4j TwitterMethod UPDATE_STATUS

Introduction

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

Prototype

TwitterMethod UPDATE_STATUS

To view the source code for twitter4j TwitterMethod UPDATE_STATUS.

Click Source Link

Usage

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

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.UPDATE_STATUS) {
        AIR.log("Error updating status " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.STATUS_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }//w  w w.ja  v a  2  s  . c o  m
}