public interface StatusListener extends StreamListener
Modifier and Type | Method and Description |
---|---|
void |
onDeletionNotice(StatusDeletionNotice statusDeletionNotice)
Called upon deletionNotice notices.
|
void |
onScrubGeo(long userId,
long upToStatusId)
Called upon location deletion messages.
|
void |
onStallWarning(StallWarning warning)
Called when receiving stall warnings.
|
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. |
onException
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 onScrubGeo(long userId, long upToStatusId)
userId
- user idupToStatusId
- up to status idvoid onStallWarning(StallWarning warning)
warning
- StallWaning