Class: DaiSdkSettings

  • 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.

Methods

getFeatureFlags

getFeatureFlags() returns Object with any type properties

Returns an object with keys as feature flags and values as their current state.

Returns

non-null Object with any type properties 

setFeatureFlags

setFeatureFlags(featureFlags) returns void

Set the value for any feature flags. This should be set as early as possible, before requesting a stream. Calling this method again will reset any feature flags for the next stream.

Parameter

featureFlags

Object with any type properties

Value must not be null.

Returns

void