GCKAdBreakInfo 类
继承 NSObject。实现 <NSCopy>。
- (instancetype) initWithPlaybackPosition: |
|
(NSTimeInterval) |
playbackPosition |
|
指定的初始化程序。
构造一个新的 GCKAdBreakInfo。
- Parameters
-
playbackPosition | The playback position in seconds for this ad break. |
- (NSTimeInterval) playbackPosition |
|
readnonatomicassign |
广告开始播放的播放位置(以秒为单位)。
- 开始时间
- 3.1
- (NSArray<NSString *>*) adBreakClipIDs |
|
readnonatomicstrong |
此广告插播时间点所包含的广告插播片段的标识符字符串列表。
- 开始时间
- 3.3
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-02。
[null,null,["最后更新时间 (UTC):2023-12-02。"],[[["`GCKAdBreakInfo` is a class that represents an ad break within a media playback, providing details about its timing, identification, and composition."],["It includes properties like `adBreakID`, `playbackPosition`, `watched` status, and `adBreakClipIDs` to manage ad breaks effectively."],["Developers can initialize an `GCKAdBreakInfo` instance using `initWithPlaybackPosition:` and access its properties to control ad playback behavior."],["This class helps manage ad breaks by providing information about their timing, unique identifiers, whether they have been watched, and the IDs of individual ad clips within the break."]]],[]]