Class AdScheduleEvent


  • public class AdScheduleEvent
    extends Event
    Payload that accompanies the onAdSchedule() event.
    • Constructor Detail

      • AdScheduleEvent

        public AdScheduleEvent​(@NonNull
                               JWPlayer player,
                               @NonNull
                               AdClient client,
                               @NonNull
                               java.util.List<VmapAdBreak> vmapAdBreaks,
                               @NonNull
                               java.lang.String tag)
    • Method Detail

      • getTag

        @NonNull
        public java.lang.String getTag()
        Returns:
        The URL of the VMAP tag.
      • getClient

        @NonNull
        public AdClient getClient()
        Returns:
        The client that is currently being used.
      • getVmapAdBreaks

        @NonNull
        public java.util.List<VmapAdBreak> getVmapAdBreaks()
        Returns:
        List of VMAP Ad Breaks that make up this schedule