AI-generated Key Takeaways
-
GCKAdBreakClipInfoBuilder is a builder object used to construct new or derived GCKAdBreakClipInfo instances.
-
It can be initialized with an existing GCKAdBreakClipInfo object to create a derived instance, or with an ad break clip ID to create a new instance from scratch.
-
The builder has various properties that can be set, such as adBreakClipID, duration, title, contentURL, and customData, to configure the ad break clip information.
-
The build method is used to create the final GCKAdBreakClipInfo instance based on the builder's current attributes.
Overview
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.
Method Detail
| - (instancetype) initWithAdBreakClipInfo: | ( GCKAdBreakClipInfo *) | adBreakClipInfo |
Constructs a new GCKAdBreakClipInfoBuilder with all of the fields of the adBreakClipInfo object.
- Parameters
- adBreakClipInfoThe 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
- adBreakClipIDThe clip ID of the ad break clip info.
| - ( GCKAdBreakClipInfo *) build |
Builds a GCKAdBreakClipInfo using the builder's current attributes.
- Returns
- The new GCKAdBreakClipInfo instance.
Property Detail
A string that uniquely identifies this ad break clip.
The clip's duration.
The clip's title.
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 content's ID.
The poster URL for this clip.
The length of time into the clip when it can be skipped in seconds.
The HLS segment format for this clip.
The VAST ad request configuration if any.
See more here: Digital Video Ad Serving Template 4.0 .
Custom application-specific data associated with the clip.

