⚠️ Important — Please read !! ⚠️
This documentation is outdated and will be removed soon. Please check the new documentation at https://developers.teads.com for the most up-to-date information.
To keep a better control over the video playback during the ad experience, you can use our VideoPlaybackListener.
This listener have the following methods:
override fun onVideoPlay() {
// called when the ad start or if it was resumed after a pause
}
override fun onVideoPause() {
// fired when the ad is paused for example if the app is not visible anymore
}
override fun onVideoComplete() {
// called when the ad reach the end
}