Enum Class PreflightTest.State

java.lang.Object
java.lang.Enum<PreflightTest.State>
com.twilio.voice.PreflightTest.State
All Implemented Interfaces:
Serializable, Comparable<PreflightTest.State>, Constable
Enclosing class:
PreflightTest

public static enum PreflightTest.State extends Enum<PreflightTest.State>
An enum describing the possible states of PreflightTest.
  • Enum Constant Details

    • CONNECTING

      public static final PreflightTest.State CONNECTING
      `Connecting` state - Preflight test attempting to connect
    • CONNECTED

      public static final PreflightTest.State CONNECTED
      `Connected` state - Preflight test connected to Twilio backend and test call in progress
    • COMPLETED

      public static final PreflightTest.State COMPLETED
      `Completed` state - Preflight test completed successfully.
    • FAILED

      public static final PreflightTest.State FAILED
      `Failed` state - Preflight test failed because of an error, a connection failure, test call failure, or the test was stopped before it could complete.
  • Method Details

    • values

      public static PreflightTest.State[] 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 PreflightTest.State 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