class MKPErrorEvent: MKPlayerEvent<Any?>
Constructors
Name | Description |
---|---|
constructor()
|
Methods
getCode
fun getCode(): String
Returns the error code used to identify the occurred error.
ReturnValue
Name | Description |
---|---|
String
|
error code in string |
getMessage
fun getMessage(): String
Returns the error message to explain the reason for the error.
ReturnValue
Name | Description |
---|---|
String
|
error message in string |
getData
fun getData(): Any?
Returns additional data if any, potentially containing more information about the error.
ReturnValue
Name | Description |
---|---|
Any?
|
Event which is sent when an error occurs.