GCKAdBreakClipInfo Class

  • GCKAdBreakClipInfo is a class representing an ad break clip.

  • This class inherits from NSObject, NSCopying, and NSSecureCoding protocols.

  • It provides properties such as adBreakClipID, duration, title, clickThroughURL, contentURL, mimeType, contentID, posterURL, whenSkippable, hlsSegmentFormat, vastAdsRequest, and customData to describe the ad clip.

A class representing an ad break clip.

Since
3.3

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Instance Method Summary

(instancetype) - init
 

Property Summary

NSString * adBreakClipID
 A string that uniquely identifies this ad break clip. More...
 
NSTimeInterval duration
 The clip's duration. More...
 
NSString * title
 The clip's title. More...
 
NSURL * clickThroughURL
 The click-through URL for this clip. More...
 
NSURL * contentURL
 URL for the content that represents this clip (typically an image). More...
 
NSString * mimeType
 MIME type of the content referenced by contentURL. More...
 
NSString * contentID
 The content's ID. More...
 
NSURL * posterURL
 The poster URL for this clip. More...
 
NSTimeInterval whenSkippable
 The length of time into the clip when it can be skipped in seconds. More...
 
GCKHLSSegmentFormat hlsSegmentFormat
 The HLS segment format for this clip. More...
 
GCKVASTAdsRequestvastAdsRequest
 The VAST ad request configuration if any. More...
 
id customData
 Custom application-specific data associated with the clip. More...
 

- (NSString*) adBreakClipID

readnonatomicassign

A string that uniquely identifies this ad break clip.

- (NSTimeInterval) duration

readnonatomicassign

The clip's duration.

- (NSURL*) clickThroughURL

readnonatomicassign

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.

Since
4.1

The poster URL for this clip.

Since
4.1

- (NSTimeInterval) whenSkippable

readnonatomicassign

The length of time into the clip when it can be skipped in seconds.

Since
4.3

The HLS segment format for this clip.

Since
4.1

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.