QueriedCoWatchingState

@PublicApi
public interface QueriedCoWatchingState

알려진 직접 하위 클래스
CoWatchingState

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



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

이는 CoWatchingState의 하위 집합입니다. 쿼리 메커니즘은 미디어 재생이 예상대로 진행되고 있는지 확인하는 데만 사용됩니다. 실제로 상태를 설정하려면 에서 메서드를 호출합니다.

요약

공개 메서드

abstract Duration

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

default static QueriedCoWatchingState
of(Duration mediaPlayoutPosition)

지정된 플레이아웃 위치로 새 QueriedCoWatchingState를 만듭니다.

공개 메서드

mediaPlayoutPosition

abstract Duration mediaPlayoutPosition()

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

/

default static QueriedCoWatchingState of(Duration mediaPlayoutPosition)

지정된 플레이아웃 위치로 새 QueriedCoWatchingState를 만듭니다.