Ürünlerimiz hakkında görüşlerinizi paylaşmak ve geri bildirimde bulunmak için Google Advertising and Measurement Community sunucusundaki resmi Ad Manager Discord kanalına katılın.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
DaiSdkSettings
classpublic
Bu sınıf, IMA DAI ayarları API'lerini içerir.
Yöntemler
getFeatureFlags
getFeatureFlags() herhangi bir tür özelliğine sahip bir nesne döndürür.
Anahtarları özellik bayrakları, değerleri ise mevcut durumları olan bir nesne döndürür.
İadeler
non-null Object with any type properties
setFeatureFlags
setFeatureFlags(featureFlags) returns void
Tüm özellik işaretleri için değeri ayarlayın. Bu ayar, akış isteğinde bulunmadan önce mümkün olduğunca erken yapılmalıdır. Bu yöntemin tekrar çağrılması, sonraki yayın için tüm özellik işaretlerini sıfırlar.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]