GCKSession+Protected.h 文件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
GCKSessionEndAction 和 GCKSessionState 枚举。
更多...
GCKSessionEndAction 和 GCKSessionState 枚举。
用于定义 Cast 会话时要执行的操作的枚举。
- 开始时间
- 4.0
枚举器 |
---|
GCKSessionEndActionLeave |
在接收设备上明确退出会话。
|
GCKSessionEndActionDisconnect |
断开与会话的连接,而无需离开会话。
|
GCKSessionEndActionStopCasting |
停止接收器上的当前投放应用,然后结束会话。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eGCKSession+Protected.h\u003c/code\u003e file, which focuses on ending a Cast session.\u003c/p\u003e\n"],["\u003cp\u003eIt introduces the \u003ccode\u003eGCKSessionEndAction\u003c/code\u003e enum, defining actions like leaving, disconnecting, or stopping casting when ending a session.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003eGCKSession(Protected)\u003c/code\u003e category, providing methods to manage session behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKSessionEndAction\u003c/code\u003e enum is available since version 4.0 of the framework.\u003c/p\u003e\n"]]],["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"],null,[]]