GCKAdBreakInfo Class
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
GCKAdBreakInfo is a class representing an ad break.
The class inherits from NSObject, and adopts the NSCopying and NSSecureCoding protocols.
It has properties such as adBreakID, playbackPosition, adBreakClipIDs, watched, embedded, and expanded.
The initWithPlaybackPosition instance method is for backwards compatibility and returns nil.
A class representing an ad break.
Since 3.1
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
- (instancetype) initWithPlaybackPosition:
(NSTimeInterval)
playbackPosition
This is here for backwards compatibility reasons, but will return nil.
A string that uniquely identifies this ad break.
Since 3.3
- (NSTimeInterval) playbackPosition
read nonatomic assign
The playback position, in seconds, at which this ad will start playing.
Since 3.1
- (NSArray<NSString *>*) adBreakClipIDs
read nonatomic strong
A list of identifier strings for the ad break clips contained by this ad break.
Since 3.3
Whether the ad break has already been watched or not.
Since 3.3
Whether the ad break is embedded.
Since 4.1
Whether the ad break is expanded.
Since 4.7.0
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."],[],[]]