Package com.naver.ads.video.player
Interface VideoAdPlayer.VideoAdPlayerListener
-
- All Implemented Interfaces:
public interface VideoAdPlayer.VideoAdPlayerListenerListener that the player must fire.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonBuffering(ResolvedAdMediaInfo adMediaInfo)Called when video playback stalls waiting for data. abstract UnitonContentComplete()Called when all content has finished playing. abstract UnitonEnded(ResolvedAdMediaInfo adMediaInfo)Called when the video finished playing. abstract UnitonError(ResolvedAdMediaInfo adMediaInfo, VideoAdPlayError error)Called when an error occurs during video playback. abstract UnitonPrepared(ResolvedAdMediaInfo adMediaInfo)Called when the current video has prepared. abstract UnitonPause(ResolvedAdMediaInfo adMediaInfo)Called when the current video pauses playback. abstract UnitonPlay(ResolvedAdMediaInfo adMediaInfo)Called when the current video starts playing from the beginning. abstract UnitonResume(ResolvedAdMediaInfo adMediaInfo)Called when the current video resumes playing from a paused state. abstract UnitonMuteChanged(ResolvedAdMediaInfo adMediaInfo, Boolean muted)Called when the playback mute state changes. -
-
Method Detail
-
onBuffering
abstract Unit onBuffering(ResolvedAdMediaInfo adMediaInfo)
Called when video playback stalls waiting for data.
-
onContentComplete
abstract Unit onContentComplete()
Called when all content has finished playing.
-
onEnded
abstract Unit onEnded(ResolvedAdMediaInfo adMediaInfo)
Called when the video finished playing.
-
onError
abstract Unit onError(ResolvedAdMediaInfo adMediaInfo, VideoAdPlayError error)
Called when an error occurs during video playback.
-
onPrepared
abstract Unit onPrepared(ResolvedAdMediaInfo adMediaInfo)
Called when the current video has prepared.
-
onPause
abstract Unit onPause(ResolvedAdMediaInfo adMediaInfo)
Called when the current video pauses playback.
-
onPlay
abstract Unit onPlay(ResolvedAdMediaInfo adMediaInfo)
Called when the current video starts playing from the beginning.
-
onResume
abstract Unit onResume(ResolvedAdMediaInfo adMediaInfo)
Called when the current video resumes playing from a paused state.
-
onMuteChanged
abstract Unit onMuteChanged(ResolvedAdMediaInfo adMediaInfo, Boolean muted)
Called when the playback mute state changes.
-
-
-
-