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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2023-12-02 (UTC) को अपडेट किया गया."],[[["The `GCKAdBreakInfoBuilder` class is used to construct or modify instances of `GCKAdBreakInfo`, which represent ad breaks in media content."],["Developers can use the builder to create new ad break information from scratch or derive it from an existing one by setting properties like ad break ID, playback position, and ad clip IDs."],["The builder provides properties such as `adBreakID`, `playbackPosition`, `adBreakClipIDs`, `watched`, `embedded`, and `expanded` to define the characteristics of the ad break."],["By calling the `build` method on the builder, a `GCKAdBreakInfo` instance is created with the specified attributes."]]],["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"]]