CoWatchingState.Builder

@AutoValue.Builder
@PublicApi
public abstract class CoWatchingState.Builder



Builder for CoWatchingState.

Summary

Public constructors

Public methods

abstract CoWatchingState
abstract CoWatchingState.Builder

Sets the value for coWatchingQueue.

abstract CoWatchingState.Builder

Sets the value for mediaId.

abstract CoWatchingState.Builder

Sets the value for mediaPlayoutPosition.

abstract CoWatchingState.Builder
setMediaPlayoutRate(double value)

Sets the value for mediaPlayoutRate.

abstract CoWatchingState.Builder

Sets the value for playbackState.

Public constructors

Builder

public Builder()

Public methods

build

public abstract CoWatchingState build()

setCoWatchingQueue

public abstract CoWatchingState.Builder setCoWatchingQueue(CoWatchingQueue value)

Sets the value for coWatchingQueue.

setMediaId

public abstract CoWatchingState.Builder setMediaId(String value)

Sets the value for mediaId.

setMediaPlayoutPosition

public abstract CoWatchingState.Builder setMediaPlayoutPosition(Duration value)

Sets the value for mediaPlayoutPosition.

setMediaPlayoutRate

public abstract CoWatchingState.Builder setMediaPlayoutRate(double value)

Sets the value for mediaPlayoutRate.

setPlaybackState

public abstract CoWatchingState.Builder setPlaybackState(CoWatchingState.PlaybackState value)

Sets the value for playbackState.