java.lang.Object
java.lang.Enum<KeyboardKey>
com.thalesgroup.gemalto.fido2.authenticator.passcode.KeyboardKey
All Implemented Interfaces:
Serializable, Comparable<KeyboardKey>, Constable

public enum KeyboardKey extends Enum<KeyboardKey>
Describes the type of key pressed on the secure keyboard.

The application can use this enum to update its UI in response to user input.

Since:
1.0.0
  • Enum Constant Details

    • INPUT

      public static final KeyboardKey INPUT
      A numeric input key was pressed.
    • DELETE

      public static final KeyboardKey DELETE
      The delete key was pressed.
    • DONE

      public static final KeyboardKey DONE
      The "Done" or "OK" key was pressed to submit the passcode.
  • Method Details

    • values

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