Class SetupErrorEvent


  • public class SetupErrorEvent
    extends Event
    Payload that accompanies the onSetupError() event.
    • Constructor Summary

      Constructors 
      Constructor Description
      SetupErrorEvent​(JWPlayer player, java.lang.String message, int errorCode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCode()  
      java.lang.String getMessage()  
      • Methods inherited from class com.jwplayer.pub.api.events.Event

        getPlayer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SetupErrorEvent

        public SetupErrorEvent​(@NonNull
                               JWPlayer player,
                               @NonNull
                               java.lang.String message,
                               int errorCode)
    • Method Detail

      • getMessage

        @NonNull
        public java.lang.String getMessage()
        Returns:
        The error message that describes why the player could not be set up.
      • getCode

        @NonNull
        public int getCode()
        Returns:
        The error code associated with the error message