CoWatchingState

@Immutable
@AutoValue
@PublicApi
abstract class CoWatchingState : QueriedCoWatchingState


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

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

요약

중첩된 유형

CoWatchingState의 빌더입니다.

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

공개 함수

java-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에서
java-static QueriedCoWatchingState!
of(mediaPlayoutPosition: Duration!)

공개 함수

builder

java-static fun builder(): CoWatchingState.Builder!

Builder를 반환합니다.

coWatchingQueue

abstract fun coWatchingQueue(): CoWatchingQueue!

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

mediaId

abstract fun mediaId(): String!

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

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

mediaPlayoutPosition

abstract fun mediaPlayoutPosition(): Duration!

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

mediaPlayoutRate

abstract fun mediaPlayoutRate(): Double

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

playbackState

abstract fun playbackState(): CoWatchingState.PlaybackState!

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

toBuilder

abstract fun toBuilder(): CoWatchingState.Builder!

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