Class RelatedOpenEvent

java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.RelatedOpenEvent

public class RelatedOpenEvent extends Event
Payload that accompanies the onRelatedOpen() event.
  • Constructor Details

  • Method Details

    • getItems

      public List<PlaylistItem> getItems()
      Returns:
      List of all PlaylistItems that have been loaded into the related plugin.
    • getMethod

      public String getMethod()
      Returns:
      The method used to open the plugin. (api, complete, or click).
    • getUrl

      public String getUrl()
      Returns:
      URL of the feed that was loaded into the player.