Package com.amazonaws.ivs.broadcast
Enum Class BroadcastSession.RetryState
- All Implemented Interfaces:
Serializable
,Comparable<BroadcastSession.RetryState>
,Constable
- Enclosing class:
BroadcastSession
A value representing the
BroadcastSession
retry state.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe SDK was unable to reconnect a failed broadcast within the maximum amount of allowed retries.The SDK is not currently attempting to reconnect a failed broadcastThe SDK is actively trying to reconnect a failed broadcast.The SDK successfully reconnected a failed broadcast.The SDK is waiting to for the backoff timer to trigger a reconnect attempt.The SDK is waiting to for the internet connection to be restored before starting to backoff timer to attempt a reconnect. -
Method Summary
Modifier and TypeMethodDescriptionstatic BroadcastSession.RetryState
Returns the enum constant of this class with the specified name.static BroadcastSession.RetryState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_RETRYING
The SDK is not currently attempting to reconnect a failed broadcast -
WAITING_FOR_INTERNET
The SDK is waiting to for the internet connection to be restored before starting to backoff timer to attempt a reconnect. -
WAITING_FOR_BACKOFF_TIMER
The SDK is waiting to for the backoff timer to trigger a reconnect attempt. -
RETRYING
The SDK is actively trying to reconnect a failed broadcast. -
SUCCESS
The SDK successfully reconnected a failed broadcast. -
FAILURE
The SDK was unable to reconnect a failed broadcast within the maximum amount of allowed retries.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-