/** This method triggers video watched event */ public void reportVideoWatchedEvent() { if (!watchedAlreadyReported) { watchedAlreadyReported = true; if (getProgress() >= ExoVideoPlayer.PROGRESS_END) { videoComponentCallbacks.onVideoPrequalificationEnd( appOffer.getId(), getProgress(), appOffer.getVideoReward()); } else { videoComponentCallbacks.onVideoPrequalificationWatched( appOffer.getId(), getProgress(), appOffer.getVideoReward()); } } }
public void reportVideoStartEvent() { if (videoPlayerInterface != null && videoPlayerInterface.isVideoPlaying() && !startAlreadyReported) { startAlreadyReported = true; videoComponentCallbacks.onVideoStartEvent(appOffer.getId()); } }
public void reportVideoMuteEvent(boolean mute) { videoComponentCallbacks.onVideoMuteEvent(appOffer.getId(), mute); }