GCKAdBreakInfo Class
Stay organized with collections
Save and categorize content based on your preferences.
A class representing an ad break.
- Since
- 3.1
Inherits NSObject. Implements <NSCopying>.
|
NSString * | adBreakID |
| A string that uniquely identifies this ad break. More...
|
|
NSTimeInterval | playbackPosition |
| The playback position, in seconds, at which this ad will start playing. More...
|
|
BOOL | watched |
| Whether the ad break has already been watched or not. More...
|
|
NSArray< NSString * > * | adBreakClipIDs |
| A list of the identifier string for the ad break clips contained by this ad break. More...
|
|
- (instancetype) initWithPlaybackPosition: |
|
(NSTimeInterval) |
playbackPosition |
|
Designated initializer.
Constructs a new GCKAdBreakInfo.
- Parameters
-
playbackPosition | The playback position in seconds for this ad break. |
A string that uniquely identifies this ad break.
- Since
- 3.3
- (NSTimeInterval) playbackPosition |
|
readnonatomicassign |
The playback position, in seconds, at which this ad will start playing.
- Since
- 3.1
Whether the ad break has already been watched or not.
- Since
- 3.3
- (NSArray<NSString *>*) adBreakClipIDs |
|
readnonatomicstrong |
A list of the identifier string for the ad break clips contained by this ad break.
- Since
- 3.3
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`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."]]],[]]