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.
A string that uniquely identifies this ad break clip. More...
The click-through URL for this clip. More...
URL for the content that represents this clip (typically an image). More...
The poster URL for this clip. More...
The length of time into the clip when it can be skipped in seconds. More...
The HLS segment format for this clip. More...
The VAST ad request configuration if any. More...
Custom application-specific data associated with the clip. More...
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
read
write
nonatomic
copy
A string that uniquely identifies this ad break clip.
- (NSTimeInterval) duration
read
write
nonatomic
assign
read
write
nonatomic
copy
- (NSURL*) clickThroughURL
read
write
nonatomic
copy
The click-through URL for this clip.
read
write
nonatomic
copy
URL for the content that represents this clip (typically an image).
read
write
nonatomic
copy
MIME type of the content referenced by contentURL
.
read
write
nonatomic
copy
read
write
nonatomic
copy
The poster URL for this clip.
- (NSTimeInterval) whenSkippable
read
write
nonatomic
assign
The length of time into the clip when it can be skipped in seconds.
read
write
nonatomic
assign
The HLS segment format for this clip.
read
write
nonatomic
assign
read
write
nonatomic
assign
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."],[[["\u003cp\u003e\u003ccode\u003eGCKAdBreakClipInfoBuilder\u003c/code\u003e helps construct or derive instances of \u003ccode\u003eGCKAdBreakClipInfo\u003c/code\u003e which represents an ad break clip.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to initialize a builder with an existing \u003ccode\u003eGCKAdBreakClipInfo\u003c/code\u003e or create a new one from scratch using an ad break clip ID.\u003c/p\u003e\n"],["\u003cp\u003eThe builder allows modification of various attributes like ad break clip ID, duration, title, content URL, and more before building the final \u003ccode\u003eGCKAdBreakClipInfo\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eYou can use \u003ccode\u003ebuild\u003c/code\u003e to generate a new \u003ccode\u003eGCKAdBreakClipInfo\u003c/code\u003e instance based on the attributes set in the builder.\u003c/p\u003e\n"]]],["The `GCKAdBreakClipInfoBuilder` class facilitates the creation of `GCKAdBreakClipInfo` objects. It can derive a new instance from an existing one by using `initWithAdBreakClipInfo:`, modifying properties like `adBreakClipID` and `duration`, then using `build`. Alternatively, it can construct from scratch with `initWithAdBreakClipID:`, setting attributes like `title`, `contentURL`, and `contentID`. Other configurable properties include the `clickThroughURL`, `mimeType`, `posterURL`, `whenSkippable`, `hlsSegmentFormat`, `vastAdsRequest` and `customData`. Finally, the `build` method creates the new GCKAdBreakClipInfo object with the desired attributes.\n"],null,[]]