Class SetupErrorEvent

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

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

    • SetupErrorEvent

      public SetupErrorEvent(JWPlayer player, String message, int errorCode)
  • Method Details

    • getMessage

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

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