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 theBroadcastSessionretry state.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description FAILUREThe SDK was unable to reconnect a failed broadcast within the maximum amount of allowed retries.NOT_RETRYINGThe SDK is not currently attempting to reconnect a failed broadcastRETRYINGThe SDK is actively trying to reconnect a failed broadcast.SUCCESSThe SDK successfully reconnected a failed broadcast.WAITING_FOR_BACKOFF_TIMERThe SDK is waiting to for the backoff timer to trigger a reconnect attempt.WAITING_FOR_INTERNETThe SDK is waiting to for the internet connection to be restored before starting to backoff timer to attempt a reconnect.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static BroadcastSession.RetryStatevalueOf(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_RETRYINGpublic static final BroadcastSession.RetryState NOT_RETRYING The SDK is not currently attempting to reconnect a failed broadcast
 - 
WAITING_FOR_INTERNETpublic 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_TIMERpublic static final BroadcastSession.RetryState WAITING_FOR_BACKOFF_TIMER The SDK is waiting to for the backoff timer to trigger a reconnect attempt.
 - 
RETRYINGpublic static final BroadcastSession.RetryState RETRYING The SDK is actively trying to reconnect a failed broadcast.
 - 
SUCCESSpublic static final BroadcastSession.RetryState SUCCESS The SDK successfully reconnected a failed broadcast.
 - 
FAILUREpublic static final BroadcastSession.RetryState FAILURE The SDK was unable to reconnect a failed broadcast within the maximum amount of allowed retries.
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-