Class AdSkippedEvent

java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.AdSkippedEvent

public class AdSkippedEvent extends Event
Payload that accompanies the onAdSkipped() event.
  • Constructor Details

    • AdSkippedEvent

      public AdSkippedEvent(@NonNull JWPlayer player, @NonNull AdClient client, @NonNull String creativeType, @NonNull String tag)
  • Method Details

    • getTag

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

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

      @NonNull public String getCreativeType()
      Returns:
      The type of ad that was skipped.