Package 

Interface CanPlayEvent

  • All Implemented Interfaces:
    com.theoplayer.android.api.event.Event , com.theoplayer.android.api.event.player.PlayerEvent

    
    public interface CanPlayEvent
     implements PlayerEvent<CanPlayEvent>
                        

    Fired when CANPLAY occurs for the Player.

    • The player already has some data and can play.
    • The player does not have sufficient future data to guarantee a smooth playthrough.
    • With the current playback rate, until the end of the stream, the player might have to stop for further buffering of the media data.
    • 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 double getCurrentTime() The current time at which the player can play.
      • Methods inherited from class com.theoplayer.android.api.event.Event

        getDate, getType
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getCurrentTime

         abstract double getCurrentTime()

        The current time at which the player can play.