Example usage for Java twitter4j TwitterStream fields, constructors, methods, implement or subclass
The text is from its open source code.
TwitterStream | addConnectionLifeCycleListener(ConnectionLifeCycleListener listener) Adds a ConnectionLifeCycleListener |
TwitterStream | addListener(StreamListener listener) |
TwitterStream | cleanUp() shutdown internal stream consuming thread |
TwitterStream | filter(final FilterQuery query) Start consuming public statuses that match one or more filter predicates. |
TwitterStream | filter(final String... track) Start consuming public statuses that match the filter predicate. |
TwitterStream | firehose(final int count) Starts listening on all public statuses. |
TwitterStream | links(final int count) Starts listening on all public statuses containing links. |
TwitterStream | removeListener(StreamListener listener) |
TwitterStream | retweet() Starts listening on all retweets. |
TwitterStream | sample() Starts listening on random sample of all public statuses. |
TwitterStream | sample(final String language) Starts listening on random sample of all public statuses. |
void | setOAuthAccessToken(AccessToken accessToken) Sets the access token |
void | setOAuthConsumer(String consumerKey, String consumerSecret) sets the OAuth consumer key and consumer secret |
TwitterStream | shutdown() Shuts down internal dispatcher thread shared by all TwitterStream instances. |