Questa classe contiene le API per le impostazioni IMA DAI.
Metodi
getFeatureFlags
getFeatureFlags() restituisce un oggetto con proprietà sconosciute
Restituisce un oggetto con chiavi come flag delle funzionalità e valori corrispondenti allo stato attuale.
Ritorni
non-null Object with unknown properties
setFeatureFlags
setFeatureFlags(featureFlags)
Imposta il valore per gli eventuali flag delle funzionalità. Questa impostazione deve essere impostata il prima possibile, prima di richiedere uno stream. Se chiami di nuovo questo metodo, tutti i flag di funzionalità per lo stream successivo verranno reimpostati.
[null,null,["Ultimo aggiornamento 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"]]