Class AdWarningEvent

  • All Implemented Interfaces:
    Event

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

      Constructors 
      Constructor Description
      AdWarningEvent​(java.lang.String tag, java.lang.String message, int adErrorCode, int code)  
    • Constructor Detail

      • AdWarningEvent

        public AdWarningEvent​(java.lang.String tag,
                              java.lang.String message,
                              int adErrorCode,
                              int code)
    • Method Detail

      • getTag

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

        @NonNull
        public java.lang.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.