संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
DaiSdkSettings
क्लास
इस क्लास में, IMA डीएआई सेटिंग के एपीआई शामिल हैं.
तरीके
getFeatureFlags
getफ़ीचरFlags() अज्ञात प्रॉपर्टी वाले ऑब्जेक्ट को दिखाता है
सुविधा फ़्लैग के रूप में कुंजियों वाले ऑब्जेक्ट और उनकी मौजूदा स्थिति के रूप में वैल्यू दिखाता है.
रिटर्न
non-null Object with unknown properties
setFeatureFlags
setFeatureFlags(featureFlags)
किसी भी फ़ीचर फ़्लैग के लिए वैल्यू सेट करें. स्ट्रीम का अनुरोध करने से पहले, इसे जल्द से जल्द सेट कर देना चाहिए. इस तरीके को फिर से कॉल करने से,
अगली स्ट्रीम के लिए सभी फ़ीचर फ़्लैग रीसेट हो जाएंगे.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-07-09 (UTC) को अपडेट किया गया."],[[["The `DaiSdkSettings` class provides access to IMA DAI settings through its methods."],["`getFeatureFlags` retrieves the current state of all feature flags."],["`setFeatureFlags` allows you to configure feature flags which impact subsequent stream requests; calling it again resets these flags for the next stream."]]],["The `DaiSdkSettings` class provides methods for managing IMA DAI (Dynamic Ad Insertion) settings. `getFeatureFlags` retrieves an object containing feature flag keys and their current states. `setFeatureFlags` allows setting values for feature flags; these settings should be configured before requesting a stream. Re-calling `setFeatureFlags` resets the flags for the next stream. The parameter `featureFlags` for this function should not be null.\n"]]