java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.amazonaws.ivs.broadcast.ErrorType |
Enumeration of error codes used in onError(BroadcastException)
.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ErrorType | END_OF_FILE | Connection has ended. | |||||||||
ErrorType | ERROR | Generic error occurred. | |||||||||
ErrorType | ERROR_AUTHORIZATION | Error indicating a network resource is not authorized. | |||||||||
ErrorType | ERROR_CONNECTION_ABORTED | Software caused the connection to abort. | |||||||||
ErrorType | ERROR_CONNECTION_RESET | Connection reset by the server. | |||||||||
ErrorType | ERROR_DEVICE_DISCONNECTED | Device, such as a mic or camera, lost its connection. | |||||||||
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 | Error indicating a network resource is not available. | |||||||||
ErrorType | ERROR_NOT_CONNECTED | Not connected. | |||||||||
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 | ERROR_TYPE_UNKNOWN | Error type unknown when using fromInt(), where the argument was < 0 or >= the length of this enum. | |||||||||
ErrorType | ERROR_WOULD_BLOCK | Error indicating a non-blocking resource would block but did not; retry later. | |||||||||
ErrorType | ERROR_WRONG_THREAD | Call made on the wrong thread. | |||||||||
ErrorType | OK | No Error. |
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. Value = 10
Software caused the connection to abort. No FDs available or an unknown error occurred. Value = 14
Device, such as a mic or camera, lost its connection. Value = 16
Data or input is invalid for the operation. Value = 4
Error indicating a network resource is not available. Value = 11
Error type unknown when using fromInt(), where the argument was < 0 or >= the length of this enum. Value = 19
Error indicating a non-blocking resource would block but did not; retry later. Value = 12
Call made on the wrong thread. You must make API calls from the thread you created the BroadcastSession on. Value = 18