GCKAdBreakInfoBuilder Class
Stay organized with collections
Save and categorize content based on your preferences.
A builder object for constructing new or derived GCKAdBreakInfo instances.
The builder may be used to derive a GCKAdBreakInfo from an existing one:
It can also be used to construct a new GCKAdBreakInfo from scratch:
builder.title = ...;
builder.contentURL = ...;
builder.contentID = ...;
- Since
- 4.3.4
Inherits NSObject.
|
(instancetype) | - initWithAdBreakInfo: |
|
(instancetype) | - initWithAdBreakID:adBreakClipIds: |
|
(instancetype) | - init |
|
(GCKAdBreakInfo *) | - build |
|
A string that uniquely identifies this ad break.
- (NSTimeInterval) playbackPosition |
|
readwritenonatomicassign |
The playback position, in seconds, at which this ad will start playing.
- (NSArray<NSString *>*) adBreakClipIDs |
|
readwritenonatomiccopy |
A list of identifier strings for the ad break clips contained by this ad break.
Whether the ad break has already been watched or not.
Whether the ad break is embedded.
Whether the ad break is expanded.
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."],[[["The `GCKAdBreakInfoBuilder` class is used to construct or modify instances of `GCKAdBreakInfo`, which represent ad breaks in media content."],["Developers can use the builder to create new ad break information from scratch or derive it from an existing one by setting properties like ad break ID, playback position, and ad clip IDs."],["The builder provides properties such as `adBreakID`, `playbackPosition`, `adBreakClipIDs`, `watched`, `embedded`, and `expanded` to define the characteristics of the ad break."],["By calling the `build` method on the builder, a `GCKAdBreakInfo` instance is created with the specified attributes."]]],[]]