public static enum OCastMediaError.Status implements ErrorStatus
Represents the status of an class OCastMediaError
.
class OCastMediaError
ErrorStatus.Companion
Enum Constant and Description |
---|
CLIENT_ERROR
There is an error in the OCast SDK.
|
DECODE_ERROR
There was an error while decoding the message.
|
DEVICE_LAYER_FORBIDDEN_UNSECURE_MODE
The client has no right to access the required destination or service.
|
DEVICE_LAYER_INTERNAL_ERROR
There is an internal OCast device layer error.
|
DEVICE_LAYER_JSON_FORMAT_ERROR
There is a badly formatted JSON in the received OCast device layer.
|
DEVICE_LAYER_MISSING_MANDATORY_FIELD
There is a missing mandatory field in the received OCast device layer.
|
DEVICE_LAYER_MISSING_REPLY_DATA
The reply data is missing in the received OCast device layer.
|
DEVICE_LAYER_MISSING_STATUS
The status is missing in the received OCast device layer.
|
DEVICE_LAYER_UNKNOWN_ERROR
There is an unknown error in the received OCast device layer.
|
DEVICE_LAYER_VALUE_FORMAT_ERROR
There is a malformed value in the received OCast device layer.
|
INTERNAL_ERROR
An internal error, please send details on the tracker.
|
INVALID_PLAYER_STATE
The command could not be performed according to the player state.
|
INVALID_SERVICE
The service is not implemented by the web application.
|
INVALID_TRACK
The track ID is not valid.
|
MISSING_PARAMETER
A mandatory parameter is missing.
|
NOT_IMPLEMENTED
The command is not yet implemented by the web application.
|
NO_PLAYER_INITIALIZED
The player could not be initialized.
|
SUCCESS
There is no error.
|
UNKNOWN_ERROR
There is an unknown error.
|
UNKNOWN_MEDIA_TYPE
The media type is unknown.
|
UNKNOWN_TRANSFER_MODE
The transfer mode is unknown.
|
Companion
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The status code.
|
getCode
public static OCastMediaError.Status SUCCESS
There is no error.
public static OCastMediaError.Status NOT_IMPLEMENTED
The command is not yet implemented by the web application.
public static OCastMediaError.Status INVALID_SERVICE
The service is not implemented by the web application.
public static OCastMediaError.Status INVALID_PLAYER_STATE
The command could not be performed according to the player state.
public static OCastMediaError.Status NO_PLAYER_INITIALIZED
The player could not be initialized.
public static OCastMediaError.Status INVALID_TRACK
The track ID is not valid.
public static OCastMediaError.Status UNKNOWN_MEDIA_TYPE
The media type is unknown.
public static OCastMediaError.Status UNKNOWN_TRANSFER_MODE
The transfer mode is unknown.
public static OCastMediaError.Status MISSING_PARAMETER
A mandatory parameter is missing.
public static OCastMediaError.Status INTERNAL_ERROR
An internal error, please send details on the tracker.
public static OCastMediaError.Status UNKNOWN_ERROR
There is an unknown error.
public static OCastMediaError.Status CLIENT_ERROR
There is an error in the OCast SDK.
public static OCastMediaError.Status DEVICE_LAYER_JSON_FORMAT_ERROR
There is a badly formatted JSON in the received OCast device layer.
public static OCastMediaError.Status DEVICE_LAYER_VALUE_FORMAT_ERROR
There is a malformed value in the received OCast device layer.
public static OCastMediaError.Status DEVICE_LAYER_MISSING_MANDATORY_FIELD
There is a missing mandatory field in the received OCast device layer.
public static OCastMediaError.Status DEVICE_LAYER_FORBIDDEN_UNSECURE_MODE
The client has no right to access the required destination or service.
public static OCastMediaError.Status DEVICE_LAYER_INTERNAL_ERROR
There is an internal OCast device layer error.
public static OCastMediaError.Status DEVICE_LAYER_MISSING_STATUS
The status is missing in the received OCast device layer.
public static OCastMediaError.Status DEVICE_LAYER_MISSING_REPLY_DATA
The reply data is missing in the received OCast device layer.
public static OCastMediaError.Status DEVICE_LAYER_UNKNOWN_ERROR
There is an unknown error in the received OCast device layer.
public static OCastMediaError.Status DECODE_ERROR
There was an error while decoding the message.