Class RelatedCloseEvent


  • public class RelatedCloseEvent
    extends Event
    Payload that accompanies the onRelatedClose() event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMethod()  
      • 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

      • RelatedCloseEvent

        public RelatedCloseEvent​(@NonNull
                                 JWPlayer player,
                                 @NonNull
                                 java.lang.String method)
    • Method Detail

      • getMethod

        @NonNull
        public java.lang.String getMethod()
        Returns:
        The method used to open the plugin. (api, complete, or click).