Class ControlsEvent


  • public class ControlsEvent
    extends Event
    Fired when controls are enabled or disabled through the API.
    • Constructor Summary

      Constructors 
      Constructor Description
      ControlsEvent​(JWPlayer player, boolean controls)  
    • Method Summary

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

      • ControlsEvent

        public ControlsEvent​(@NonNull
                             JWPlayer player,
                             boolean controls)
    • Method Detail

      • getControls

        public boolean getControls()
        Returns:
        New state of the controls.