Enum FailureType
-
- All Implemented Interfaces:
public enum FailureTypeEnumeration of failures.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DE_QR_INVALIDInvalid QR during Device Engagement.
DE_QR_MISSINGMissing QR when returning result from QRDeviceEngagementContract
DE_QR_CANCELEDDevice Engagement using QRDeviceEngagementContract was cancelled by user.
DE_NDEF_FAILED_READFailed to read NDEF when using NFC Device Engagement
DE_NDEF_FAILED_PARSING_CCFailed to parse NDEF CAPABILITY CONTAINER when using NFC Device Engagement
UNSPECIFIED_ERRORUnspecified error
DE_CAMERA_PERMISSIONMissing permission
EMPTY_REQUESTTrying to send an empty request
BLE_NOT_SUPPORTEDBLE not supported
BLE_ADVERTISE_ERRORBLE advertise error
BLE_DEVICE_CONNECTION_LOSTBLE device connection lost
BLE_NOT_ENABLEDBLE not enabled
BLE_SERVICE_NOT_STARTEDBLE service not started
BLE_CONNECTION_ERRORBLE connection error
BLE_TRANSFER_ERRORBLE transfer error
BLE_CENTRAL_MODE_NOT_SUPPORTEDBLE central mode not supported
BLE_PERIPHERAL_MODE_NOT_SUPPORTEDBLE peripheral mode not supported
BLE_LOCATION_PROVIDER_NOT_ENABLEDBLE location provider not enabled
BLE_LOCATION_PERMISSIONS_NOT_GRANTEDBLE location permissions not granted
BLE_TRY_TO_CONNECT_UNAVAILABLE_SERVICEBLE try to connect to unavailable service
BLE_GATT_SERVER_NOT_OPENEDBLE gatt server not opened
BLE_READER_VERIFICATION_UNAVAILABLEBLE reader verification is unavailable
BLE_BLUETOOTH_CONNECT_PERMISSION_NOT_GRANTEDBluetooth connect permission not granted
BLE_BLUETOOTH_ADVERTISE_PERMISSION_NOT_GRANTEDBluetooth advertise permission not granted
BLE_BLUETOOTH_SCAN_PERMISSION_NOT_GRANTEDBluetooth scan permission not granted
NFC_NOT_SUPPORTEDNFC not supported
NFC_CONNECTION_LOSTNFC connection lost
NFC_NOT_ENABLEDNFC not enabled
NFC_HANDOVER_ERRORNFC handover error
NFC_TRANSFER_ERRORNFC transfer error
WEBAPI_ERRORWebAPI error
WEBAPI_JWT_VERIFICATION_ERRORWebAPI JWT verification error
-
Method Summary
Modifier and Type Method Description static Array<FailureType>values()Returns an array containing the constants of this enum type, in the order they're declared. static FailureTypevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
values
static Array<FailureType> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
-
valueOf
static FailureType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
-
-
-