GCKAdBreakClipInfoBuilder Class
Stay organized with collections
Save and categorize content based on your preferences.
A builder object for constructing new or derived GCKAdBreakClipInfo instances.
The builder may be used to derive a GCKAdBreakClipInfo from an existing one:
It can also be used to construct a new GCKAdBreakClipInfo from scratch:
- Since
- 4.3.4
Inherits NSObject.
Constructs a new GCKAdBreakClipInfoBuilder with all of the fields of the adBreakClipInfo object.
- Parameters
-
adBreakClipInfo | The ad break clip info to get the fields from. |
- (instancetype) initWithAdBreakClipID: |
|
(NSString *) |
adBreakClipID |
|
Constructs a new GCKAdBreakClipInfoBuilder with the ad break clip ID and all other attributes initialized to default values.
- Parameters
-
adBreakClipID | The clip ID of the ad break clip info. |
- (NSString*) adBreakClipID |
|
readwritenonatomiccopy |
A string that uniquely identifies this ad break clip.
- (NSTimeInterval) duration |
|
readwritenonatomicassign |
- (NSURL*) clickThroughURL |
|
readwritenonatomiccopy |
The click-through URL for this clip.
URL for the content that represents this clip (typically an image).
MIME type of the content referenced by contentURL.
The poster URL for this clip.
- (NSTimeInterval) whenSkippable |
|
readwritenonatomicassign |
The length of time into the clip when it can be skipped in seconds.
The HLS segment format for this clip.
Custom application-specific data associated with the clip.
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."],[[["`GCKAdBreakClipInfoBuilder` helps construct or derive instances of `GCKAdBreakClipInfo` which represents an ad break clip."],["It provides methods to initialize a builder with an existing `GCKAdBreakClipInfo` or create a new one from scratch using an ad break clip ID."],["The builder allows modification of various attributes like ad break clip ID, duration, title, content URL, and more before building the final `GCKAdBreakClipInfo` object."],["You can use `build` to generate a new `GCKAdBreakClipInfo` instance based on the attributes set in the builder."]]],[]]