パッケージ twitter4j.v1
クラス StatusAdapter
java.lang.Object
twitter4j.v1.StatusAdapter
- すべての実装されたインタフェース:
StatusListener,StreamListener
- 導入されたバージョン:
- Twitter4J 2.1.3
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidonDeletionNotice(StatusDeletionNotice statusDeletionNotice) Called upon deletionNotice notices.voidonException(Exception ex) voidonScrubGeo(long userId, long upToStatusId) Called upon location deletion messages.voidonStallWarning(StallWarning warning) Called when receiving stall warnings.voidvoidonTrackLimitationNotice(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.
-
コンストラクタの詳細
-
StatusAdapter
public StatusAdapter()
-
-
メソッドの詳細
-
onStatus
- 定義:
onStatusインタフェース内StatusListener- パラメータ:
status- status
-
onDeletionNotice
インタフェースからコピーされた説明:StatusListenerCalled upon deletionNotice notices. Clients are urged to honor deletionNotice requests and discard deleted statuses immediately. At times, status deletionNotice messages may arrive before the status. Even in this case, the late arriving status should be deleted from your backing store.- 定義:
onDeletionNoticeインタフェース内StatusListener- パラメータ:
statusDeletionNotice- the deletionNotice notice- 関連項目:
-
onTrackLimitationNotice
public void onTrackLimitationNotice(int numberOfLimitedStatuses) インタフェースからコピーされた説明:StatusListenerThis 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.- 定義:
onTrackLimitationNoticeインタフェース内StatusListener- パラメータ:
numberOfLimitedStatuses- an enumeration of statuses that matched the track predicate but were administratively limited.- 関連項目:
-
onScrubGeo
public void onScrubGeo(long userId, long upToStatusId) インタフェースからコピーされた説明:StatusListenerCalled upon location deletion messages. Clients are urged to honor deletion requests and remove appropriate geolocation information from both the display and your backing store immediately. Note that in some cases the location deletion message may arrive before a tweet that lies within the deletion range arrives. You should still strip the location data.- 定義:
onScrubGeoインタフェース内StatusListener- パラメータ:
userId- user idupToStatusId- up to status id
-
onException
- 定義:
onExceptionインタフェース内StreamListener- パラメータ:
ex- exception
-
onStallWarning
インタフェースからコピーされた説明:StatusListenerCalled when receiving stall warnings.- 定義:
onStallWarningインタフェース内StatusListener- パラメータ:
warning- StallWaning- 関連項目:
-