public static enum MFRC522.StatusCode extends Enum<MFRC522.StatusCode>
Enum Constant and Description |
---|
COLLISION |
CRC_WRONG |
ERROR |
INTERNAL_ERROR |
INVALID |
MIFARE_NACK |
NO_ROOM |
OK |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
static MFRC522.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MFRC522.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MFRC522.StatusCode OK
public static final MFRC522.StatusCode ERROR
public static final MFRC522.StatusCode COLLISION
public static final MFRC522.StatusCode TIMEOUT
public static final MFRC522.StatusCode NO_ROOM
public static final MFRC522.StatusCode INTERNAL_ERROR
public static final MFRC522.StatusCode INVALID
public static final MFRC522.StatusCode CRC_WRONG
public static final MFRC522.StatusCode MIFARE_NACK
public static MFRC522.StatusCode[] values()
for (MFRC522.StatusCode c : MFRC522.StatusCode.values()) System.out.println(c);
public static MFRC522.StatusCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte getCode()
Copyright © 2016–2017 mattjlewis. All rights reserved.