GCKAdBreakClipInfo Class

  • GCKAdBreakClipInfo represents metadata about an ad break clip within a Google Cast session, introduced in version 3.3.

  • It provides properties like a unique ID, duration, title, click-through URL, and content URL for each ad clip.

  • Developers can access information about the ad, such as the image to display or a link to the advertiser's website, through properties like contentURL and clickThroughURL.

  • The class also includes optional custom data for application-specific needs, allowing for flexibility in how developers utilize ad information.

GCKAdBreakClipInfo Class Reference

Overview

A class representing an ad break clip.

Since
3.3

Inherits NSObject. Implements <NSCopying>.

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...
 
id customData
 Custom application-specific data associated with the clip. More...
 

Property Detail

- (NSString*) adBreakClipID
readnonatomiccopy

A string that uniquely identifies this ad break clip.

- (NSTimeInterval) duration
readnonatomicassign

The clip's duration.

- (NSString*) title
readnonatomiccopy

The clip's title.

- (NSURL*) clickThroughURL
readnonatomiccopy

The click-through URL for this clip.

- (NSURL*) contentURL
readnonatomiccopy

URL for the content that represents this clip (typically an image).

- (NSString*) mimeType
readnonatomiccopy

MIME type of the content referenced by contentURL.

- (id) customData
readnonatomicstrong

Custom application-specific data associated with the clip.