public final enum

ErrorType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.amazonaws.ivs.broadcast.ErrorType

Class Overview

Enumeration of error codes used in onError(BroadcastException).

Summary

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

Enum Values

public static final ErrorType END_OF_FILE

Connection has ended. Value = 17

public static final ErrorType ERROR

Generic error occurred. Value = 1

public static final ErrorType ERROR_AUTHORIZATION

Error indicating a network resource is not authorized. Value = 10

public static final ErrorType ERROR_CONNECTION_ABORTED

Software caused the connection to abort. No FDs available or an unknown error occurred. Value = 14

public static final ErrorType ERROR_CONNECTION_RESET

Connection reset by the server. Value = 13

public static final ErrorType ERROR_DEVICE_DISCONNECTED

Device, such as a mic or camera, lost its connection. Value = 16

public static final ErrorType ERROR_INVALID_DATA

Data or input is invalid for the operation. Value = 4

public static final ErrorType ERROR_INVALID_PARAMETER

Method parameter is invalid. Value = 6

public static final ErrorType ERROR_INVALID_STATE

Class or object is an invalid state. Value = 5

public static final ErrorType ERROR_NETWORK

Unspecified Network error. Value = 8

public static final ErrorType ERROR_NETWORK_IO

Error indicating a network I/O failure. Value = 9

public static final ErrorType ERROR_NOT_AVAILABLE

Error indicating a network resource is not available. Value = 11

public static final ErrorType ERROR_NOT_CONNECTED

Not connected. Value = 15

public static final ErrorType ERROR_NOT_SUPPORTED

Method or feature not supported. Value = 2

public static final ErrorType ERROR_NO_SOURCE

No source present for the operation. Value = 3

public static final ErrorType ERROR_TIMEOUT

Method or operation timed out. Value = 7

public static final ErrorType ERROR_TYPE_UNKNOWN

Error type unknown when using fromInt(), where the argument was < 0 or >= the length of this enum. Value = 19

public static final ErrorType ERROR_WOULD_BLOCK

Error indicating a non-blocking resource would block but did not; retry later. Value = 12

public static final ErrorType ERROR_WRONG_THREAD

Call made on the wrong thread. You must make API calls from the thread you created the BroadcastSession on. Value = 18

public static final ErrorType OK

No Error. Value = 0

Public Methods

public static ErrorType fromInt (int code)

public static ErrorType valueOf (String name)

public static final ErrorType[] values ()