GCKSession+Protected.h 파일
GCKSessionEndAction 및 GCKSessionState 열거형입니다.
더보기
GCKSessionEndAction 및 GCKSessionState 열거형입니다.
Cast 세션을 종료할 때 실행할 작업을 정의하는 열거형입니다.
- 다음 이후:
- 4.0
열거자 |
---|
GCKSessionEndActionLead |
명시적으로 수신기에서 세션을 나갑니다.
|
GCKSessionEndActionDisconnect |
명시가 없이 세션을 종료하지 않습니다.
|
GCKSessionEndActionStopCasting을 |
수신기에서 현재 전송 중인 애플리케이션을 중지한 후 세션을 종료합니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-02(UTC)
[null,null,["최종 업데이트: 2023-12-02(UTC)"],[[["This document outlines the `GCKSession+Protected.h` file, which focuses on ending a Cast session."],["It introduces the `GCKSessionEndAction` enum, defining actions like leaving, disconnecting, or stopping casting when ending a session."],["It includes the `GCKSession(Protected)` category, providing methods to manage session behavior."],["The `GCKSessionEndAction` enum is available since version 4.0 of the framework."]]],["The content details `GCKSession(Protected)` category methods, which are designated for overriding by `GCKSession` subclasses. It also defines `GCKSessionEndAction`, an enumeration specifying actions when ending a Cast session, which are: `GCKSessionEndActionLeave` (explicitly leave), `GCKSessionEndActionDisconnect` (disconnect without leaving), and `GCKSessionEndActionStopCasting` (stop casting and end). `GCKSessionState` enum is also mentioned.\n"]]