GCKAdBreakClipInfo Class
Stay organized with collections
Save and categorize content based on your preferences.
A class representing an ad break clip.
- Since
- 3.3
Inherits NSObject. Implements <NSCopying>.
- (NSString*) adBreakClipID |
|
readnonatomiccopy |
A string that uniquely identifies this ad break clip.
- (NSTimeInterval) duration |
|
readnonatomicassign |
- (NSURL*) clickThroughURL |
|
readnonatomiccopy |
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.
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\u003eGCKAdBreakClipInfo\u003c/code\u003e represents metadata about an ad break clip within a Google Cast session, introduced in version 3.3.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties like a unique ID, duration, title, click-through URL, and content URL for each ad clip.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access information about the ad, such as the image to display or a link to the advertiser's website, through properties like \u003ccode\u003econtentURL\u003c/code\u003e and \u003ccode\u003eclickThroughURL\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes optional custom data for application-specific needs, allowing for flexibility in how developers utilize ad information.\u003c/p\u003e\n"]]],[],null,["# GCKAdBreakClipInfo Class\n\n[Properties](#properties) \nGCKAdBreakClipInfo Class Reference \n\nOverview\n--------\n\nA class representing an ad break clip.\n\nSince\n: 3.3\n\nInherits NSObject. Implements \\\u003cNSCopying\\\u003e.\n\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSString \\* | [adBreakClipID](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#a5b4b4d2e56ef212c555b6f9df8c98488) |\n| | A string that uniquely identifies this ad break clip. [More...](#a5b4b4d2e56ef212c555b6f9df8c98488) |\n| ||\n| NSTimeInterval | [duration](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#a2286ea20bc8dbb308bf65eb1cc02e36e) |\n| | The clip's duration. [More...](#a2286ea20bc8dbb308bf65eb1cc02e36e) |\n| ||\n| NSString \\* | [title](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#a0e065dafdb90efedac5c75a2f6ca1ac2) |\n| | The clip's title. [More...](#a0e065dafdb90efedac5c75a2f6ca1ac2) |\n| ||\n| NSURL \\* | [clickThroughURL](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#adc90292cac5428e02b783b3cfb041dba) |\n| | The click-through URL for this clip. [More...](#adc90292cac5428e02b783b3cfb041dba) |\n| ||\n| NSURL \\* | [contentURL](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#ad32de3275e8309cc7dd97dcb5d7074c3) |\n| | URL for the content that represents this clip (typically an image). [More...](#ad32de3275e8309cc7dd97dcb5d7074c3) |\n| ||\n| NSString \\* | [mimeType](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#a0a412abe2dc39430160d02852eba74cc) |\n| | MIME type of the content referenced by [contentURL](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#ad32de3275e8309cc7dd97dcb5d7074c3). [More...](#a0a412abe2dc39430160d02852eba74cc) |\n| ||\n| id | [customData](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#abfcf90a69f7489d04931479d92cf0cc1) |\n| | Custom application-specific data associated with the clip. [More...](#abfcf90a69f7489d04931479d92cf0cc1) |\n| ||\n\nProperty Detail\n---------------\n\n|-------------------------------------------------------------------|-------------------|\n| |------------------------------| | - (NSString\\*) adBreakClipID | | readnonatomiccopy |\n\nA string that uniquely identifies this ad break clip. \n\n|-----------------------------------------------------------------|---------------------|\n| |-----------------------------| | - (NSTimeInterval) duration | | readnonatomicassign |\n\nThe clip's duration. \n\n|---------------------------------------------------|-------------------|\n| |----------------------| | - (NSString\\*) title | | readnonatomiccopy |\n\nThe clip's title. \n\n|-----------------------------------------------------------------|-------------------|\n| |-----------------------------| | - (NSURL\\*) clickThroughURL | | readnonatomiccopy |\n\nThe click-through URL for this clip. \n\n|-------------------------------------------------------|-------------------|\n| |------------------------| | - (NSURL\\*) contentURL | | readnonatomiccopy |\n\nURL for the content that represents this clip (typically an image). \n\n|---------------------------------------------------------|-------------------|\n| |-------------------------| | - (NSString\\*) mimeType | | readnonatomiccopy |\n\nMIME type of the content referenced by [contentURL](/cast/v3/reference/ios/interface_g_c_k_ad_break_clip_info#ad32de3275e8309cc7dd97dcb5d7074c3). \n\n|---------------------------------------------|---------------------|\n| |-------------------| | - (id) customData | | readnonatomicstrong |\n\nCustom application-specific data associated with the clip."]]