SplashAdAndroidOptions constructor

const SplashAdAndroidOptions({
  1. bool? muted,
  2. double? volume,
  3. bool? useSurfaceView,
  4. bool? bidNotify,
  5. bool? shakeButton,
  6. bool? enablePreload,
  7. String? scenarioId,
  8. Map<String, dynamic>? extras,
  9. Map<String, dynamic>? customData,
  10. SplashAdFallback? fallback,
})

Implementation

const SplashAdAndroidOptions({
  this.muted,
  this.volume,
  this.useSurfaceView,
  this.bidNotify,
  this.shakeButton,
  this.enablePreload,
  this.scenarioId,
  this.extras,
  this.customData,
  this.fallback,
}) : assert(
       volume == null || (volume >= 0 && volume <= 1),
       'volume 需在 [0,1] 范围内',
     );