CoWatchingState.Builder

@AutoValue.Builder
@PublicApi
abstract class CoWatchingState.Builder


Builder for CoWatchingState.

Summary

Public constructors

Public functions

abstract CoWatchingState!
abstract CoWatchingState.Builder!

Sets the value for coWatchingQueue.

abstract CoWatchingState.Builder!
setMediaId(value: String!)

Sets the value for mediaId.

abstract CoWatchingState.Builder!

Sets the value for mediaPlayoutPosition.

abstract CoWatchingState.Builder!

Sets the value for mediaPlayoutRate.

abstract CoWatchingState.Builder!

Sets the value for playbackState.

Public constructors

Builder

Builder()

Public functions

build

abstract fun build(): CoWatchingState!

setCoWatchingQueue

abstract fun setCoWatchingQueue(value: CoWatchingQueue!): CoWatchingState.Builder!

Sets the value for coWatchingQueue.

setMediaId

abstract fun setMediaId(value: String!): CoWatchingState.Builder!

Sets the value for mediaId.

setMediaPlayoutPosition

abstract fun setMediaPlayoutPosition(value: Duration!): CoWatchingState.Builder!

Sets the value for mediaPlayoutPosition.

setMediaPlayoutRate

abstract fun setMediaPlayoutRate(value: Double): CoWatchingState.Builder!

Sets the value for mediaPlayoutRate.

setPlaybackState

abstract fun setPlaybackState(value: CoWatchingState.PlaybackState!): CoWatchingState.Builder!

Sets the value for playbackState.