Example usage for twitter4j TwitterMethod DESTROY_STATUS

List of usage examples for twitter4j TwitterMethod DESTROY_STATUS

Introduction

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

Prototype

TwitterMethod DESTROY_STATUS

To view the source code for twitter4j TwitterMethod DESTROY_STATUS.

Click Source Link

Usage

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

License:Apache License

@Override
public void onException(TwitterException te, TwitterMethod method) {
    if (method == TwitterMethod.DESTROY_STATUS) {
        AIR.log("Error destroying status: " + te.getMessage());
        AIR.dispatchEvent(AIRTwitterEvent.STATUS_QUERY_ERROR,
                StringUtils.getEventErrorJSON(mCallbackID, te.getMessage()));
    }/*from   ww w  . j  a  va  2  s.  c  o m*/
}