Package com.naver.ads.video.player
Interface VideoPlayer.PlayerListener
-
- All Implemented Interfaces:
public interface VideoPlayer.PlayerListenerListener of this player.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonPlaybackStateChanged(PlaybackState playbackState)Called when the value returned from getPlaybackState changes. abstract UnitonMuteChanged(Boolean muted)Called when the muted value changes. abstract UnitonPlayerError(Throwable error)Called when an error occurs. -
-
Method Detail
-
onPlaybackStateChanged
abstract Unit onPlaybackStateChanged(PlaybackState playbackState)
Called when the value returned from getPlaybackState changes.
- Parameters:
playbackState- the new playback state.
-
onMuteChanged
abstract Unit onMuteChanged(Boolean muted)
Called when the muted value changes.
- Parameters:
muted- the changed muted value.
-
onPlayerError
abstract Unit onPlayerError(Throwable error)
Called when an error occurs.
- Parameters:
error- the error.
-
-
-
-