Package 

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onVideoPrepared() Fire this callback when content video player prepared to play content video
      abstract Unit onVideoCompleted() Fire this callback when content video player completed playback
      abstract Unit onVideoResumed() Fire this callback when content video player resumed playback
      abstract Unit onVideoPaused() Fire this callback when content video player paused playback
      abstract Unit onVideoError() Fire this callback when error occurs in video player
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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