A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_ad_break_clip_info_builder below:

GCKAdBreakClipInfoBuilder Class | Cast | Google for Developers

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

The clip's duration.

- (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."]]],["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"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4