getFeatureFlags() trả về Đối tượng có thuộc tính không xác định
Trả về một đối tượng có các khoá là cờ tính năng và giá trị theo trạng thái hiện tại.
Trả bóng
non-null Object with unknown properties
setFeatureFlags
setFeatureFlags(featureFlags)
Đặt giá trị cho bất kỳ cờ tính năng nào. Bạn nên thiết lập chế độ này càng sớm càng tốt, trước khi yêu cầu truyền trực tuyến. Khi gọi lại phương thức này, hệ thống sẽ đặt lại mọi cờ tính năng cho luồng tiếp theo.
[null,null,["Cập nhật lần gần đây nhất: 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"]]