Interface VideoPlayerListener
-
- All Implemented Interfaces:
@MainThread() public interface VideoPlayerListener
This interface used to handle callbacks of content video player. Callback calls on this object should respond to appropriate method calls on VideoPlayer
-
-
Method Summary
Modifier and Type Method Description abstract UnitonVideoPrepared()Fire this callback when content video player prepared to play content video abstract UnitonVideoCompleted()Fire this callback when content video player completed playback abstract UnitonVideoResumed()Fire this callback when content video player resumed playback abstract UnitonVideoPaused()Fire this callback when content video player paused playback abstract UnitonVideoError()Fire this callback when error occurs in video player -
-
Method Detail
-
onVideoPrepared
abstract Unit onVideoPrepared()
Fire this callback when content video player prepared to play content video
-
onVideoCompleted
abstract Unit onVideoCompleted()
Fire this callback when content video player completed playback
-
onVideoResumed
abstract Unit onVideoResumed()
Fire this callback when content video player resumed playback
-
onVideoPaused
abstract Unit onVideoPaused()
Fire this callback when content video player paused playback
-
onVideoError
abstract Unit onVideoError()
Fire this callback when error occurs in video player
-
-
-
-