Class AdClickEvent

  • All Implemented Interfaces:
    Event

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

      Constructors 
      Constructor Description
      AdClickEvent​(AdSource client, java.lang.String tag, java.lang.String creativeType)  
    • Constructor Detail

      • AdClickEvent

        public AdClickEvent​(AdSource client,
                            java.lang.String tag,
                            java.lang.String creativeType)
    • Method Detail

      • getTag

        @NonNull
        public java.lang.String getTag()
        Returns:
        The URL of the ad tag that was clicked.
      • getClient

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

        @NonNull
        public java.lang.String getCreativeType()
        Returns:
        The type of ad that is being played.