Class AdWarningEvent

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

public class AdWarningEvent extends Event
Payload that accompanies the onAdWarning() event.
  • Constructor Details

    • AdWarningEvent

      public AdWarningEvent(JWPlayer player, String tag, String message, int adErrorCode, int code)
  • Method Details

    • getTag

      public String getTag()
      Returns:
      The URL of the ad tag that encountered the ad warning.
    • getMessage

      public String getMessage()
      Returns:
      The message describing the cause of the ad warning.
    • getAdErrorCode

      public int getAdErrorCode()
      Returns:
      The JW Player Ad Error code describing the cause of the ad warning.
    • getCode

      public int getCode()
      Returns:
      The VAST code describing the cause of the ad warning.