GCKAdBreakClipInfo 类
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
继承 NSObject。实现 <NSCopy>。
- (NSString*) adBreakClipID |
|
readnonatomiccopy |
- (NSTimeInterval) duration |
|
readnonatomicassign |
- (NSURL*) clickThroughURL |
|
readnonatomiccopy |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\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."]]