Enum BroadcastSession.RetryState

    • 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 broadcast
      RETRYING
      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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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.
      • 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 name
        java.lang.NullPointerException - if the argument is null