trait TwitterUserClient extends AnyRef
- Alphabetic
- By Inheritance
- TwitterUserClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val streamingClient: StreamingClient
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def userEvents(with: WithFilter = WithFilter.Followings, replies: Option[Boolean] = None, tracks: Seq[String] = Seq.empty, locations: Seq[GeoBoundingBox] = Seq.empty, stringify_friend_ids: Boolean = false, languages: Seq[Language] = Seq.empty, stall_warnings: Boolean = false, filter_level: FilterLevel = FilterLevel.None)(f: PartialFunction[UserStreamingMessage, Unit], errorHandler: PartialFunction[Throwable, Unit] = ErrorHandler.ignore): Future[TwitterStream]
Starts a streaming connection from Twitter's user API.
Starts a streaming connection from Twitter's user API. Streams messages for a single user as described in User streams. The function returns a future of a
TwitterStreamthat can be used to close or replace the stream when needed. If there are failures in establishing the initial connection, the Future returned will be completed with a failure. Since it's an asynchronous event stream, all the events will be parsed as entities of typeUserStreamingMessageand processed accordingly to the partial functionf. All the messages that do not matchfare automatically ignored. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/user-stream.- with
:
Followingsby default. Specifies whether to return information for just the authenticating user, or include messages from accounts the user follows. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/user-stream- tracks
: Empty by default. List of phrases which will be used to determine what Tweets will be delivered on the stream. Each phrase must be between 1 and 60 bytes, inclusive. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/user-stream
- locations
: Empty by default. Specifies a set of bounding boxes to track. For more information see https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/user-stream
- languages
: Empty by default. List of 'BCP 47' language identifiers. For more information https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/api-reference/user-stream
- stall_warnings
: Default to false. Specifies whether stall warnings (
WarningMessage) should be delivered as part of the updates.- f
: Function that defines how to process the received messages.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])