סיווג GCKAdBreakStatus
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחלקה שמייצגת את סטטוס ההפסקה למודעות.
- מאז
- 3.3
יורש את NSObject. מיישם את <NS Copy>.
- (NSTimeInterval) currentAdBreakTime |
|
readnonatomicassign |
הזמן הנוכחי בהפסקה הנוכחית למודעות.
- (NSTimeInterval) currentAdBreakClipTime |
|
readnonatomicassign |
הזמן הנוכחי בקטע הנוכחי של הקליפ במודעה.
- (NSTimeInterval) whenSkippable |
|
readnonatomicassign |
הספירה המינימלית בשניות של הקליפ הנדרשת כדי לאפשר דילוג.
- מאז
- 4.4.5
מזהה המחרוזת של ההפסקה הנוכחית למודעות.
- (NSString*) adBreakClipID |
|
readnonatomicstrong |
מזהה המחרוזת של ההפסקה הנוכחית בקטע המודעה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003eGCKAdBreakStatus\u003c/code\u003e class provides information about the current ad break, including time positions and identifiers, inheriting from \u003ccode\u003eNSObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for tracking time within the ad break (\u003ccode\u003ecurrentAdBreakTime\u003c/code\u003e, \u003ccode\u003ecurrentAdBreakClipTime\u003c/code\u003e) and ad clip (\u003ccode\u003ecurrentAdBreakClipTime\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ewhenSkippable\u003c/code\u003e indicates the minimum time before an ad can be skipped (available since version 4.4.5).\u003c/p\u003e\n"],["\u003cp\u003eIdentifiers for both the ad break (\u003ccode\u003eadBreakID\u003c/code\u003e) and ad clip (\u003ccode\u003eadBreakClipID\u003c/code\u003e) are also provided as string properties.\u003c/p\u003e\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/docs/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/docs/reference/ios/interface_g_c_k_ad_break_status#a49854512c1a20b32eb4377e4a56ce010) |\n| | The current time within the current ad clip break. [More...](#a49854512c1a20b32eb4377e4a56ce010) |\n| ||\n| NSTimeInterval | [whenSkippable](/cast/docs/reference/ios/interface_g_c_k_ad_break_status#a1ee9573750aaa6845186f1b17fdee7fa) |\n| | The minimum count in seconds into the clip required to enable skipping. [More...](#a1ee9573750aaa6845186f1b17fdee7fa) |\n| ||\n| NSString \\* | [adBreakID](/cast/docs/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/docs/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| |----------------------------------| | - (NSTimeInterval) whenSkippable | | readnonatomicassign |\n\nThe minimum count in seconds into the clip required to enable skipping.\n\nSince\n: 4.4.5 \n\n|-----------------------------------------------------------|---------------------|\n| |--------------------------| | - (NSString\\*) adBreakID | | readnonatomicstrong |\n\nThe string identifier for the current ad break. \n\n|-------------------------------------------------------------------|---------------------|\n| |------------------------------| | - (NSString\\*) adBreakClipID | | readnonatomicstrong |\n\nThe string identifier for the current ad clip break."]]