Class AdScheduleEvent

  • All Implemented Interfaces:
    Event

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

      • AdScheduleEvent

        public AdScheduleEvent​(AdSource client,
                               java.util.List<VMAPAdBreak> vmapAdBreaks,
                               java.lang.String tag)
    • Method Detail

      • getTag

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

        @NonNull
        public AdSource 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