Interface SdkSettings


This class contains IMA DAI settings APIs. Access this interface through the global singleton google.ima.dai.api.DaiSdkSettings.
Methods
getFeatureFlags
Returns an object with keys as feature flags and values as their current state.
setFeatureFlags
Sets the value for any feature flags.

Methods


getFeatureFlags

getFeatureFlags(): {
  [key: string]: unknown;
}
Returns an object with keys as feature flags and values as their current state.
Returns
{
  [key: string]: unknown;
}

setFeatureFlags

setFeatureFlags(featureFlags: {
  [key: string]: unknown;
}): void
Sets the value for any feature flags. You must set feature flags before requesting a stream. Calling this method after the first call resets any feature flags for the next stream.
Parameters
featureFlags: {
  [key: string]: unknown;
}