Java twitter4j TwitterStream fields, constructors, methods, implement or subclass

Example usage for Java twitter4j TwitterStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for twitter4j TwitterStream.

The text is from its open source code.

Implementation

twitter4j.TwitterStream has the following implementations.
Click this link to see all its implementation.

Method

TwitterStreamaddConnectionLifeCycleListener(ConnectionLifeCycleListener listener)
Adds a ConnectionLifeCycleListener
TwitterStreamaddListener(StreamListener listener)
TwitterStreamcleanUp()
shutdown internal stream consuming thread
TwitterStreamfilter(final FilterQuery query)
Start consuming public statuses that match one or more filter predicates.
TwitterStreamfilter(final String... track)
Start consuming public statuses that match the filter predicate.
TwitterStreamfirehose(final int count)
Starts listening on all public statuses.
TwitterStreamlinks(final int count)
Starts listening on all public statuses containing links.
TwitterStreamremoveListener(StreamListener listener)
TwitterStreamretweet()
Starts listening on all retweets.
TwitterStreamsample()
Starts listening on random sample of all public statuses.
TwitterStreamsample(final String language)
Starts listening on random sample of all public statuses.
voidsetOAuthAccessToken(AccessToken accessToken)
Sets the access token
voidsetOAuthConsumer(String consumerKey, String consumerSecret)
sets the OAuth consumer key and consumer secret
TwitterStreamshutdown()
Shuts down internal dispatcher thread shared by all TwitterStream instances.