Class FirstFrameEvent


  • public class FirstFrameEvent
    extends Event
    Fired the instant a video or audio file begins playback.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getLoadTime()  
      • 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

      • FirstFrameEvent

        public FirstFrameEvent​(@NonNull
                               JWPlayer player,
                               double loadTime)
    • Method Detail

      • getLoadTime

        public double getLoadTime()
        Returns:
        The amount of time (In milliseconds) it takes for the player to transition from a play attempt to a firstFrame event.