Class AdCompanionsEvent

  • All Implemented Interfaces:
    Event

    public class AdCompanionsEvent
    extends java.lang.Object
    implements Event
    Payload that accompanies the onAdCompanions() event.
    • Constructor Summary

      Constructors 
      Constructor Description
      AdCompanionsEvent​(java.lang.String tag, java.util.List<AdCompanion> companions)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<AdCompanion> getCompanions()
      A List of with available companion information.
      java.lang.String getTag()
      The URL of the ad tag that is currently playing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdCompanionsEvent

        public AdCompanionsEvent​(java.lang.String tag,
                                 java.util.List<AdCompanion> companions)
    • Method Detail

      • getTag

        @NonNull
        public java.lang.String getTag()
        The URL of the ad tag that is currently playing.
      • getCompanions

        @NonNull
        public java.util.List<AdCompanion> getCompanions()
        A List of with available companion information.