CoWatchingState

@Immutable
@AutoValue
@PublicApi
public abstract class CoWatchingState implements QueriedCoWatchingState



공동 시청 활동의 상태를 나타냅니다.

다른 참여자로부터 상태 업데이트를 수신할 때 onStateQuery의 반환 값으로 사용됩니다.

요약

중첩된 유형

CoWatchingState의 빌더입니다.

미디어 재생의 현재 상태를 나타냅니다.

공개 메서드

static CoWatchingState.Builder

Builder를 반환합니다.

abstract CoWatchingQueue

큐에 추가되는 값을 반환합니다.

abstract String

재생 중인 미디어의 식별자를 반환합니다.

abstract Duration

미디어 송출의 현재 위치를 반환합니다.

abstract double

현재 재생 속도를 반환합니다. 여기서 1.0은 일반 속도입니다.

abstract CoWatchingState.PlaybackState

미디어 재생의 현재 상태를 반환합니다.

abstract CoWatchingState.Builder

현재 객체에서 새 Builder를 반환합니다.

상속된 메서드

com.google.android.meet.addons.QueriedCoWatchingState에서
static QueriedCoWatchingState
of(Duration mediaPlayoutPosition)

공개 메서드

builder

public static CoWatchingState.Builder builder()

Builder를 반환합니다.

coWatchingQueue

public abstract CoWatchingQueue coWatchingQueue()

큐에 추가되는 값을 반환합니다.

mediaId

public abstract String mediaId()

재생 중인 미디어의 식별자를 반환합니다.

참고: 실제 형식은 공동 시청 앱에만 중요합니다.

mediaPlayoutPosition

public abstract Duration mediaPlayoutPosition()

미디어 송출의 현재 위치를 반환합니다.

mediaPlayoutRate

public abstract double mediaPlayoutRate()

현재 재생 속도를 반환합니다. 여기서 1.0은 일반 속도입니다.

playbackState

public abstract CoWatchingState.PlaybackState playbackState()

미디어 재생의 현재 상태를 반환합니다.

toBuilder

public abstract CoWatchingState.Builder toBuilder()

현재 객체에서 새 Builder를 반환합니다.