GCKAdbreakInfoBuilder क्लास
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
नए या डिराइव किए गए GCKAdBreakInfo इंस्टेंस बनाने के लिए, बिल्डर ऑब्जेक्ट.
बिल्डर का इस्तेमाल, किसी मौजूदा विकल्प से GCKAdBreakInfo पाने के लिए किया जा सकता है:
इसका इस्तेमाल, शुरुआत से नया GCKAdBreakInfo बनाने के लिए भी किया जा सकता है:
Builder.title = ...;
Builder.contentURL = ...;
Builder.contentID = ...;
- से
- 4.3.4
NSObject को इनहेरिट करता है.
|
(instancetype) | - initWithAdBreakInfo: |
|
(instancetype) | - initWithAdBreakID:adBreakClipIds: |
|
(instancetype) | - init |
|
(GCKAdBreakInfo *) | - build |
|
विज्ञापन के लिए इस ब्रेक की खास तौर पर पहचान करने वाली स्ट्रिंग.
- (NSTimeInterval) playbackPosition |
|
readwritenonatomicassign |
वीडियो चलने की वह स्थिति (सेकंड में), जहां यह विज्ञापन चलना शुरू होगा.
- (NSArray<NSString *>*) adBreakClipIDs |
|
readwritenonatomiccopy |
इस विज्ञापन के लिए ब्रेक में शामिल ब्रेक की क्लिप के लिए आइडेंटिफ़ायर स्ट्रिंग की सूची.
इससे पता चलता है कि विज्ञापन के लिए ब्रेक को पहले ही देखा जा चुका है या नहीं.
विज्ञापन के लिए ब्रेक एम्बेड किया गया है या नहीं.
विज्ञापन के लिए ब्रेक की विंडो को बड़ा किया जाएगा या नहीं.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The `GCKAdBreakInfoBuilder` class constructs `GCKAdBreakInfo` instances. It can derive an instance from an existing one by initializing with `initWithAdBreakInfo:`, then modifying properties like `adBreakID` or `playbackPosition`, and finally calling `build`. It can also create a new instance from scratch with `initWithAdBreakID:`, setting properties like `adBreakID` and `adBreakClipIDs`, `watched`, `embedded` or `expanded`, then using `build`. The builder manages ad break identifiers, playback positions, clip IDs, and watched/embedded/expanded statuses.\n"]]