StreamTimelineConfig

data class StreamTimelineConfig(val leagueName: String, val gameId: String, val spoiler: Boolean = false)

Data containing stream configurations given by the client

Constructors

Link copied to clipboard
constructor(leagueName: String, gameId: String, spoiler: Boolean = false)

Creates an StreamTimelineConfig instance.

Properties

Link copied to clipboard

Unique identifier of the game event

Link copied to clipboard

the name of the sports organization such as: NHL, NBA, MLS, MLB

Link copied to clipboard
val spoiler: Boolean = false

Flag to regulate events dispatch If enabled, the next event dispatched would contain all the timeline events till the end of the content. Default value is Boolean.false A spoiler is a message or image that reveals something significant about a piece of media. It is called a spoiler because it spoils the surprise for someone else who has not yet seen or used the thing that the message is about.