public interface StatusListener
Modifier and Type | Method and Description |
---|---|
void |
onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
Called upon deletionNotice notices.
|
void |
onException(java.lang.Exception ex) |
void |
onStatus(Status status) |
void |
onTrackLimitationNotice(int numberOfLimitedStatuses)
This notice will be sent each time a limited stream becomes unlimited.
If this number is high and or rapidly increasing, it is an indication that your predicate is too broad, and you should consider a predicate with higher selectivity. |
void onStatus(Status status)
void onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
statusDeletionNotice
- the deletionNotice noticevoid onTrackLimitationNotice(int numberOfLimitedStatuses)
numberOfLimitedStatuses
- an enumeration of statuses that matched the track predicate but were administratively limited.void onException(java.lang.Exception ex)