Package com.jwplayer.pub.api.events
Class ErrorEvent
java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.ErrorEvent
- Direct Known Subclasses:
WarningEvent
Payload that accompanies the onError() callback.
-
Constructor Summary
ConstructorsConstructorDescriptionErrorEvent
(JWPlayer player, String message, Exception exception, int errorCode) -
Method Summary
Modifier and TypeMethodDescriptionint
-
Constructor Details
-
ErrorEvent
-
-
Method Details
-
getMessage
- Returns:
- The error message that has been detected.
-
getException
- Returns:
- The Exception thrown along with this error.
-
getErrorCode
public int getErrorCode()- Returns:
- The error code of this error.
-