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.player.ErrorType

Class Overview

Enumeration of error codes used in onError(PlayerException).

Summary

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  Error indicating a network resource 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

Enum Values

public static final ErrorType ERROR

Generic error occurred

public static final ErrorType ERROR_AUTHORIZATION

Error indicating a network resource is not authorized

public static final ErrorType ERROR_INVALID_DATA

Data or input is invalid for the operation

public static final ErrorType ERROR_INVALID_PARAMETER

Method parameter is invalid

public static final ErrorType ERROR_INVALID_STATE

Class or object is an invalid state

public static final ErrorType ERROR_NETWORK

Unspecified Network error

public static final ErrorType ERROR_NETWORK_IO

Error indicating a network I/O failure

public static final ErrorType ERROR_NOT_AVAILABLE

Error indicating a network resource is not available

public static final ErrorType ERROR_NOT_SUPPORTED

Method or feature not supported

public static final ErrorType ERROR_NO_SOURCE

No source present for the operation

public static final ErrorType ERROR_TIMEOUT

Method or operation timed out

public static final ErrorType OK

Public Methods

public static ErrorType fromInt (int code)

public static ErrorType valueOf (String name)

public static final ErrorType[] values ()