Enum Class BroadcastSession.RetryState

java.lang.Object
java.lang.Enum<BroadcastSession.RetryState>
com.amazonaws.ivs.broadcast.BroadcastSession.RetryState
All Implemented Interfaces:
Serializable, Comparable<BroadcastSession.RetryState>, Constable
Enclosing class:
BroadcastSession

public static enum BroadcastSession.RetryState extends Enum<BroadcastSession.RetryState>
A value representing the BroadcastSession retry state.
  • Enum Constant Details

    • 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 Details

    • values

      public static BroadcastSession.RetryState[] 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

      public static BroadcastSession.RetryState valueOf(String name)
      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 name
      NullPointerException - if the argument is null