To keep a better control over the video playback during the ad experience, you can use our TeadsPlaybackDelegate
.
This delegate have the following methods:
@override
void didPlay(TeadsAd ad) {
// When the ad has started playing
}
@override
void didPause(TeadsAd ad) {
// When the ad has stopped playing
}
@override
void didComplete(TeadsAd ad) {
// When the ad has complete
}
Also, the following methods can help you for the audio management.
@override
void adStartPlayingAudio(TeadsAd ad) {
// When the ad has started playing audio
}
@override
void adStopPlayingAudio(TeadsAd ad) {
// When the ad has stopped playing audio
}