## Uses of Interface
twitter4j.TwitterStream

### Uses of TwitterStream in twitter4j

Methods in twitter4j that return TwitterStream
`TwitterStream` TwitterStream.`addConnectionLifeCycleListener(ConnectionLifeCycleListener listener)` Adds a ConnectionLifeCycleListener
`TwitterStream` TwitterStream.`addListener(StreamListener listener)`
`TwitterStream` TwitterStream.`cleanUp()` shutdown internal stream consuming thread
`TwitterStream` TwitterStream.`clearListeners()` clear status listeners
`TwitterStream` TwitterStream.`filter(FilterQuery query)` Start consuming public statuses that match one or more filter predicates.
`TwitterStream` TwitterStream.`filter(java.lang.String... track)` Start consuming public statuses that match the filter predicate.
`TwitterStream` TwitterStream.`firehose(int count)` Starts listening on all public statuses.
`TwitterStream` TwitterStreamFactory.`getInstance()` Returns a instance associated with the configuration bound to this factory.
`TwitterStream` TwitterStreamFactory.`getInstance(AccessToken accessToken)` Returns a OAuth Authenticated instance. consumer key and consumer Secret must be provided by twitter4j.properties, or system properties.
`TwitterStream` TwitterStreamFactory.`getInstance(Authorization auth)` Returns a instance.
`static TwitterStream` TwitterStreamFactory.`getSingleton()` Returns default singleton TwitterStream instance.
`TwitterStream` TwitterStream.`links(int count)` Starts listening on all public statuses containing links.
`TwitterStream` TwitterStream.`onException(Consumer<java.lang.Exception> action)`
`TwitterStream` TwitterStream.`onStatus(Consumer<Status> action)`
`TwitterStream` TwitterStream.`removeListener(StreamListener listener)`
`TwitterStream` TwitterStream.`replaceListener(StreamListener toBeRemoved, StreamListener toBeAdded)` replace existing listener
`TwitterStream` TwitterStream.`retweet()` Starts listening on all retweets.
`TwitterStream` TwitterStream.`sample()` Starts listening on random sample of all public statuses.
`TwitterStream` TwitterStream.`sample(java.lang.String language)` Starts listening on random sample of all public statuses.
`TwitterStream` TwitterStream.`shutdown()` Shuts down internal dispatcher thread shared by all TwitterStream instances.
`TwitterStream` TwitterStream.`user()` Deprecated. Since Twitter4J 4.0.7
`TwitterStream` TwitterStream.`user(java.lang.String... track)` Deprecated. Since Twitter4J 4.0.7