Class ReadyEvent


  • public class ReadyEvent
    extends Event
    Payload that accompanies the onReady() event.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReadyEvent​(JWPlayer player, double setupTime)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getSetupTime()  
      • Methods inherited from class com.jwplayer.pub.api.events.Event

        getPlayer
      • Methods inherited from class java.lang.Object

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

      • ReadyEvent

        public ReadyEvent​(@NonNull
                          JWPlayer player,
                          double setupTime)
    • Method Detail

      • getSetupTime

        public double getSetupTime()
        Returns:
        The amount of time (in milliseconds) for the player to go from setup() to ready.