Class AdCompleteEvent


  • public class AdCompleteEvent
    extends Event
    Payload that accompanies the onAdComplete() event.
    • Constructor Detail

      • AdCompleteEvent

        public AdCompleteEvent​(@NonNull
                               JWPlayer player,
                               @NonNull
                               AdClient client,
                               @NonNull
                               java.lang.String tag,
                               @NonNull
                               java.lang.String creativeType)
    • Method Detail

      • getTag

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

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

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