Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
DaiSdkSettings
classpublic
Questa classe contiene le API delle impostazioni IMA DAI.
Metodi
getFeatureFlags
getFeatureFlags() restituisce un oggetto con proprietà di qualsiasi tipo
Restituisce un oggetto con le chiavi come flag delle funzionalità e i valori come stato corrente.
Resi
non-null Object with any type properties
setFeatureFlags
setFeatureFlags(featureFlags) restituisce void
Imposta il valore per tutti i flag delle funzionalità. Questo valore deve essere impostato il prima possibile, prima di richiedere uno stream. Se chiami di nuovo questo metodo, verranno reimpostati
tutti i flag delle funzionalità per lo stream successivo.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 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"]]