Interface CanPlayThroughEvent

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

    
    public interface CanPlayThroughEvent
     implements PlayerEvent<E>
                        

    Fired when CANPLAYTHROUGH occurs for the Player.

    • The player has sufficient data to offer a smooth playthrough.
    • With the current playback rate, until the end of the stream, the player won't 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 through.
      • 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 through.

        Returns:

        The current time at which the player can play through, in seconds.