java.lang.Object
java.lang.Enum<ResultCode>
org.openqa.selenium.devtools.v146.smartcardemulation.model.ResultCode
All Implemented Interfaces:
Serializable, Comparable<ResultCode>, Constable

public enum ResultCode extends Enum<ResultCode>
Indicates the PC/SC error code. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__ErrorCodes.html Microsoft: https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values
  • Enum Constant Details

    • SUCCESS

      public static final ResultCode SUCCESS
    • REMOVED_CARD

      public static final ResultCode REMOVED_CARD
    • RESET_CARD

      public static final ResultCode RESET_CARD
    • UNPOWERED_CARD

      public static final ResultCode UNPOWERED_CARD
    • UNRESPONSIVE_CARD

      public static final ResultCode UNRESPONSIVE_CARD
    • UNSUPPORTED_CARD

      public static final ResultCode UNSUPPORTED_CARD
    • READER_UNAVAILABLE

      public static final ResultCode READER_UNAVAILABLE
    • SHARING_VIOLATION

      public static final ResultCode SHARING_VIOLATION
    • NOT_TRANSACTED

      public static final ResultCode NOT_TRANSACTED
    • NO_SMARTCARD

      public static final ResultCode NO_SMARTCARD
    • PROTO_MISMATCH

      public static final ResultCode PROTO_MISMATCH
    • SYSTEM_CANCELLED

      public static final ResultCode SYSTEM_CANCELLED
    • NOT_READY

      public static final ResultCode NOT_READY
    • CANCELLED

      public static final ResultCode CANCELLED
    • INSUFFICIENT_BUFFER

      public static final ResultCode INSUFFICIENT_BUFFER
    • INVALID_HANDLE

      public static final ResultCode INVALID_HANDLE
    • INVALID_PARAMETER

      public static final ResultCode INVALID_PARAMETER
    • INVALID_VALUE

      public static final ResultCode INVALID_VALUE
    • NO_MEMORY

      public static final ResultCode NO_MEMORY
    • TIMEOUT

      public static final ResultCode TIMEOUT
    • UNKNOWN_READER

      public static final ResultCode UNKNOWN_READER
    • UNSUPPORTED_FEATURE

      public static final ResultCode UNSUPPORTED_FEATURE
    • NO_READERS_AVAILABLE

      public static final ResultCode NO_READERS_AVAILABLE
    • SERVICE_STOPPED

      public static final ResultCode SERVICE_STOPPED
    • NO_SERVICE

      public static final ResultCode NO_SERVICE
    • COMM_ERROR

      public static final ResultCode COMM_ERROR
    • INTERNAL_ERROR

      public static final ResultCode INTERNAL_ERROR
    • SERVER_TOO_BUSY

      public static final ResultCode SERVER_TOO_BUSY
    • UNEXPECTED

      public static final ResultCode UNEXPECTED
    • SHUTDOWN

      public static final ResultCode SHUTDOWN
    • UNKNOWN_CARD

      public static final ResultCode UNKNOWN_CARD
    • UNKNOWN

      public static final ResultCode UNKNOWN
  • Method Details

    • values

      public static ResultCode[] 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 ResultCode 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
    • fromString

      public static ResultCode fromString(String s)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ResultCode>
    • toJson

      public String toJson()