Package com.amazonaws.ivs.broadcast
Enum BroadcastSession.RetryState
- java.lang.Object
-
- java.lang.Enum<BroadcastSession.RetryState>
-
- com.amazonaws.ivs.broadcast.BroadcastSession.RetryState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BroadcastSession.RetryState>
- Enclosing class:
- BroadcastSession
public static enum BroadcastSession.RetryState extends java.lang.Enum<BroadcastSession.RetryState>
A value representing theBroadcastSession
retry state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILURE
The SDK was unable to reconnect a failed broadcast within the maximum amount of allowed retries.NOT_RETRYING
The SDK is not currently attempting to reconnect a failed broadcastRETRYING
The SDK is actively trying to reconnect a failed broadcast.SUCCESS
The SDK successfully reconnected a failed broadcast.WAITING_FOR_BACKOFF_TIMER
The SDK is waiting to for the backoff timer to trigger a reconnect attempt.WAITING_FOR_INTERNET
The SDK is waiting to for the internet connection to be restored before starting to backoff timer to attempt a reconnect.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BroadcastSession.RetryState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BroadcastSession.RetryState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_RETRYING
public static final BroadcastSession.RetryState NOT_RETRYING
The SDK is not currently attempting to reconnect a failed broadcast
-
WAITING_FOR_INTERNET
public static final BroadcastSession.RetryState 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
public static final BroadcastSession.RetryState WAITING_FOR_BACKOFF_TIMER
The SDK is waiting to for the backoff timer to trigger a reconnect attempt.
-
RETRYING
public static final BroadcastSession.RetryState RETRYING
The SDK is actively trying to reconnect a failed broadcast.
-
SUCCESS
public static final BroadcastSession.RetryState SUCCESS
The SDK successfully reconnected a failed broadcast.
-
FAILURE
public static final BroadcastSession.RetryState FAILURE
The SDK was unable to reconnect a failed broadcast within the maximum amount of allowed retries.
-
-
Method Detail
-
values
public static BroadcastSession.RetryState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BroadcastSession.RetryState c : BroadcastSession.RetryState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BroadcastSession.RetryState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-