Class: DaiSdkSettings

  • The DaiSdkSettings class provides APIs for managing IMA DAI settings.

  • The getFeatureFlags method returns the current state of all feature flags.

  • The setFeatureFlags method allows setting the values of feature flags, and should be called early.

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