کلاس وضعیت GCKAdBreak
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
کلاسی که وضعیت استراحت آگهی را نشان می دهد.
- از آنجا که
- 3.3
NSObject را به ارث می برد. <NSCopying> را پیاده سازی می کند.
- (NSTimeInterval) currentAdBreakTime |
|
read nonatomic assign |
زمان فعلی در وقفه تبلیغاتی فعلی.
- (NSTimeInterval) currentAdBreakClipTime |
|
read nonatomic assign |
زمان فعلی در بخش کلیپ تبلیغاتی فعلی.
شناسه رشته برای وقفه تبلیغاتی فعلی.
- (NSString*) adBreakClipID |
|
read nonatomic copy |
شناسه رشته برای شکستن کلیپ آگهی فعلی.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eGCKAdBreakStatus\u003c/code\u003e is a class introduced in version 3.3, providing information about the status of an ad break during content playback.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eNSObject\u003c/code\u003e and implements the \u003ccode\u003eNSCopying\u003c/code\u003e protocol.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for tracking time within ad breaks and clips, as well as identifiers for both ad breaks and ad break clips.\u003c/p\u003e\n"],["\u003cp\u003eThese properties allow developers to monitor and control ad playback within their applications.\u003c/p\u003e\n"]]],["The GCKAdBreakStatus class represents the status of ad breaks. It provides information about the current ad break time, accessible via `currentAdBreakTime`, and the current ad clip break time, accessible via `currentAdBreakClipTime`. Each break and clip also has a string identifier, which are `adBreakID` and `adBreakClipID` respectively. These properties provide a snapshot of where the content is within the ad break sequence.\n"],null,["# GCKAdBreakStatus Class\n\n[Properties](#properties) \nGCKAdBreakStatus Class Reference \n\nOverview\n--------\n\nA class representing the ad break status.\n\nSince\n: 3.3\n\nInherits NSObject. Implements \\\u003cNSCopying\\\u003e.\n\n|----------------|--------------------------------------------------------------------------------------------------------------------|\n| Property Summary ---------------- ||\n| NSTimeInterval | [currentAdBreakTime](/cast/v3/reference/ios/interface_g_c_k_ad_break_status#a9af666a514325e19ba573b3b4d9e31b8) |\n| | The current time within the current ad break. [More...](#a9af666a514325e19ba573b3b4d9e31b8) |\n| ||\n| NSTimeInterval | [currentAdBreakClipTime](/cast/v3/reference/ios/interface_g_c_k_ad_break_status#a49854512c1a20b32eb4377e4a56ce010) |\n| | The current time within the current ad clip break. [More...](#a49854512c1a20b32eb4377e4a56ce010) |\n| ||\n| NSString \\* | [adBreakID](/cast/v3/reference/ios/interface_g_c_k_ad_break_status#a24e3f4f24f6f3c774973a8024aabfebb) |\n| | The string identifier for the current ad break. [More...](#a24e3f4f24f6f3c774973a8024aabfebb) |\n| ||\n| NSString \\* | [adBreakClipID](/cast/v3/reference/ios/interface_g_c_k_ad_break_status#a727f426314d8f1a7bf80a8e4c2ead400) |\n| | The string identifier for the current ad clip break. [More...](#a727f426314d8f1a7bf80a8e4c2ead400) |\n| ||\n\nProperty Detail\n---------------\n\n|-------------------------------------------------------------------------------------|---------------------|\n| |---------------------------------------| | - (NSTimeInterval) currentAdBreakTime | | readnonatomicassign |\n\nThe current time within the current ad break. \n\n|---------------------------------------------------------------------------------------------|---------------------|\n| |-------------------------------------------| | - (NSTimeInterval) currentAdBreakClipTime | | readnonatomicassign |\n\nThe current time within the current ad clip break. \n\n|-----------------------------------------------------------|-------------------|\n| |--------------------------| | - (NSString\\*) adBreakID | | readnonatomiccopy |\n\nThe string identifier for the current ad break. \n\n|-------------------------------------------------------------------|-------------------|\n| |------------------------------| | - (NSString\\*) adBreakClipID | | readnonatomiccopy |\n\nThe string identifier for the current ad clip break."]]