| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.amazonaws.ivs.player.ErrorType | |
Enumeration of error codes used in onError(PlayerException).
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ErrorType | ERROR | Generic error occurred | |||||||||
| ErrorType | ERROR_AUTHORIZATION | Error indicating a network resource is not authorized | |||||||||
| ErrorType | ERROR_INVALID_DATA | Data or input is invalid for the operation | |||||||||
| ErrorType | ERROR_INVALID_PARAMETER | Method parameter is invalid | |||||||||
| ErrorType | ERROR_INVALID_STATE | Class or object is an invalid state | |||||||||
| ErrorType | ERROR_NETWORK | Unspecified Network error | |||||||||
| ErrorType | ERROR_NETWORK_IO | Error indicating a network I/O failure | |||||||||
| ErrorType | ERROR_NOT_AVAILABLE | The stream is not available. | |||||||||
| ErrorType | ERROR_NOT_SUPPORTED | Method or feature not supported | |||||||||
| ErrorType | ERROR_NO_SOURCE | No source present for the operation | |||||||||
| ErrorType | ERROR_TIMEOUT | Method or operation timed out | |||||||||
| ErrorType | OK | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static ErrorType | fromInt(int code) | ||||||||||
| static ErrorType | valueOf(String name) | ||||||||||
| final static ErrorType[] | values() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Error indicating a network resource is not authorized
The stream is not available. The accompanying HTTP status code can help identify why the stream is unavailable. If the status code is 429, the concurrent-viewers limit was reached. If the status code is 404, the stream does not exist or is offline.