Enum FailureType
-
- All Implemented Interfaces:
public enum FailureType
Enumeration of failures.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DE_QR_INVALID
Invalid QR during Device Engagement.
DE_QR_MISSING
Missing QR when returning result from QRDeviceEngagementContract
DE_QR_CANCELED
Device Engagement using QRDeviceEngagementContract was cancelled by user.
DE_NDEF_FAILED_READ
Failed to read NDEF when using NFC Device Engagement
DE_NDEF_FAILED_PARSING_CC
Failed to parse NDEF CAPABILITY CONTAINER when using NFC Device Engagement
UNSPECIFIED_ERROR
Unspecified error
DE_CAMERA_PERMISSION
Missing permission
EMPTY_REQUEST
Trying to send an empty request
BLE_NOT_SUPPORTED
BLE not supported
BLE_ADVERTISE_ERROR
BLE advertise error
BLE_DEVICE_CONNECTION_LOST
BLE device connection lost
BLE_NOT_ENABLED
BLE not enabled
BLE_SERVICE_NOT_STARTED
BLE service not started
BLE_CONNECTION_ERROR
BLE connection error
BLE_TRANSFER_ERROR
BLE transfer error
BLE_CENTRAL_MODE_NOT_SUPPORTED
BLE central mode not supported
BLE_PERIPHERAL_MODE_NOT_SUPPORTED
BLE peripheral mode not supported
BLE_LOCATION_PROVIDER_NOT_ENABLED
BLE location provider not enabled
BLE_LOCATION_PERMISSIONS_NOT_GRANTED
BLE location permissions not granted
BLE_TRY_TO_CONNECT_UNAVAILABLE_SERVICE
BLE try to connect to unavailable service
BLE_GATT_SERVER_NOT_OPENED
BLE gatt server not opened
BLE_READER_VERIFICATION_UNAVAILABLE
BLE reader verification is unavailable
BLE_BLUETOOTH_CONNECT_PERMISSION_NOT_GRANTED
Bluetooth connect permission not granted
BLE_BLUETOOTH_ADVERTISE_PERMISSION_NOT_GRANTED
Bluetooth advertise permission not granted
BLE_BLUETOOTH_SCAN_PERMISSION_NOT_GRANTED
Bluetooth scan permission not granted
NFC_NOT_SUPPORTED
NFC not supported
NFC_CONNECTION_LOST
NFC connection lost
NFC_NOT_ENABLED
NFC not enabled
NFC_HANDOVER_ERROR
NFC handover error
NFC_TRANSFER_ERROR
NFC transfer error
WEBAPI_ERROR
WebAPI error
WEBAPI_JWT_VERIFICATION_ERROR
WebAPI 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 FailureType
valueOf(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.)
-
-
-
-