<GCKRemoteMediaClientAdInfoParserDelegate> 协议
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
用于从媒体状态中解析广告插播时间点信息的委托协议。
- Deprecated:
此类继承 <NSObject>。
允许代理根据当前的媒体状态确定接收方是否正在播放广告。
- Parameters
-
client | The client. |
mediaStatus | The current media status. |
- 返回
- 如果接收方当前正在播放广告,则为 YES,否则为 NO。
允许委托方确定当前内容中的广告插播时间点列表。
- Parameters
-
client | The client. |
mediaStatus | The current media status. |
- 返回
- GCKAdBreakInfo 对象数组,表示此内容的广告插播时间点,如果没有广告插播时间点,则为 nil。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[[["易于理解","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):2023-12-01。"],[[["The `GCKRemoteMediaClientAdInfoParserDelegate` protocol helps parse ad break details from media status updates."],["This protocol is deprecated."],["`remoteMediaClient:shouldSetPlayingAdInMediaStatus:` lets the delegate decide if the receiver is playing an ad based on the media status."],["`remoteMediaClient:shouldSetAdBreaksInMediaStatus:` lets the delegate specify ad breaks within the content, returning an array of `GCKAdBreakInfo` objects or nil."]]],[]]