InstreamAdViewController constructor

InstreamAdViewController({
  1. Function? onClick,
  2. dynamic onSegmentMediaChange(
    1. InstreamAd?
    )?,
  3. dynamic onMediaProgress(
    1. int? per,
    2. int? playTime
    )?,
  4. dynamic onMediaStart(
    1. int? playTime
    )?,
  5. dynamic onMediaPause(
    1. int? playTime
    )?,
  6. dynamic onMediaStop(
    1. int? playTime
    )?,
  7. dynamic onMediaCompletion(
    1. int? playTime
    )?,
  8. dynamic onMediaError(
    1. int? playTime,
    2. int? errorCode,
    3. int? extra
    )?,
  9. Function? onMute,
  10. Function? onUnMute,
  11. dynamic onInstreamAdViewCreated(
    1. int adId
    )?,
})

Implementation

InstreamAdViewController({
  this.onClick,
  this.onSegmentMediaChange,
  this.onMediaProgress,
  this.onMediaStart,
  this.onMediaPause,
  this.onMediaStop,
  this.onMediaCompletion,
  this.onMediaError,
  this.onMute,
  this.onUnMute,
  this.onInstreamAdViewCreated,
});