GCKMediaStatus.h 파일
GCKMediaPlayerState 및 GCKMediaPlayerIdleReason enum입니다.
더보기
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKMediaPlayerState) |
|
GCKMediaPlayerState 및 GCKMediaPlayerIdleReason enum입니다.
미디어 플레이어가 유휴 상태인 이유입니다.
열거자 |
---|
GCKMediaPlayerIdleReasonNone |
플레이어에게 현재 유휴 이유가 없음을 나타내는 상수입니다.
|
GCKMediaPlayerIdleReasonFinished |
재생이 완료되어 플레이어가 유휴 상태임을 나타내는 상수입니다.
|
GCKMediaPlayerIdleReasonCancelled |
STOP 명령에 대한 응답으로 재생이 취소되었기 때문에 플레이어가 유휴 상태임을 나타내는 상수입니다.
|
GCKMediaPlayerIdleReasonInterrupted |
로드 명령에 의해 재생이 중단되어 플레이어가 유휴 상태임을 나타내는 상수입니다.
|
GCKMediaPlayerIdleReasonError |
재생 오류가 발생하여 플레이어가 유휴 상태임을 나타내는 상수입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-02(UTC)
[null,null,["최종 업데이트: 2023-12-02(UTC)"],[[["The `GCKMediaStatus` class provides status information about media playback."],["The `GCKMediaPlayerState` enum defines the different playback states of a media player."],["The `GCKMediaPlayerIdleReason` enum defines the reasons why a media player is idle, including finished playback, cancellation, interruption, and error."],["The `GCKMediaStatus.h` file defines these enums and the `GCKMediaStatus` class, allowing developers to manage media status and playback on Google Cast devices."]]],["The core content details the `GCKMediaStatus.h` file, which defines a `GCKMediaStatus` class for media status information. It also outlines the `GCKMediaPlayerIdleReason` enumeration, specifying possible idle states of a media player: `None`, `Finished`, `Cancelled`, `Interrupted`, and `Error`. Additionally it details the functions for `GCKMediaPlayerState` enumeration type. Each idle reason indicates a specific condition under which the media player is inactive, such as completion of playback or encountering an error.\n"]]