Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
DaiSdkSettings
class
Ta klasa zawiera interfejsy API ustawień IMA DAI.
Metody
getFeatureFlags
getFeatureFlags() zwraca obiekt o nieznanych właściwościach
Zwraca obiekt z kluczami jako flagami funkcji, a wartościami w bieżącym stanie.
Akcje powrotne
non-null Object with unknown properties
setFeatureFlags
setFeatureFlags(featureFlags)
Ustaw wartość flagi funkcji. Należy to zrobić jak najwcześniej, przed wysłaniem żądania strumienia. Wywołanie tej metody ponownie spowoduje zresetowanie flag funkcji dla następnego strumienia.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]