Class AdWarningEvent


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

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

      • AdWarningEvent

        public AdWarningEvent​(@NonNull
                              JWPlayer player,
                              @NonNull
                              java.lang.String tag,
                              @NonNull
                              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.