java.lang.Object
java.lang.Enum<ConnectMode>
com.thecoderscorner.menu.remote.ConnectMode
All Implemented Interfaces:
Serializable, Comparable<ConnectMode>, java.lang.constant.Constable

public enum ConnectMode extends Enum<ConnectMode>
Connection mode indicates what kind of client to server connection has been established
  • Enum Constant Details

    • FULLY_AUTHENTICATED

      public static final ConnectMode FULLY_AUTHENTICATED
      A connection that is fully authenticated and can modify menus and bootstrap
    • PAIRING_CONNECTION

      public static final ConnectMode PAIRING_CONNECTION
      A connection that can only be used to pair with the device
  • Method Details

    • values

      public static ConnectMode[] 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 ConnectMode 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