VastAdEventListener constructor

VastAdEventListener({
  1. void onPlayStateChanged(
    1. int i
    )?,
  2. void onVolumeChanged(
    1. double v
    )?,
  3. void onScreenViewChanged(
    1. int i
    )?,
  4. void onProgressChanged(
    1. int l,
    2. int l1,
    3. int l2
    )?,
  5. void onSuccess(
    1. int i
    )?,
  6. void onFailed(
    1. int i
    )?,
  7. void playAdReady()?,
  8. void playAdFinish()?,
  9. void playAdError(
    1. int errorCode
    )?,
  10. void onBufferStart()?,
  11. void onBufferEnd()?,
})

Implementation

VastAdEventListener({
  this.onPlayStateChanged,
  this.onVolumeChanged,
  this.onScreenViewChanged,
  this.onProgressChanged,
  this.onSuccess,
  this.onFailed,
  this.playAdReady,
  this.playAdFinish,
  this.playAdError,
  this.onBufferStart,
  this.onBufferEnd,
});