Enumeration

NFCReaderError

Reader session and tag error codes.

Declaration

typedef enum NFCReaderError : NSInteger {
    ...
} NFCReaderError;

Topics

Session Errors

NFCReaderSessionInvalidationErrorFirstNDEFTagRead

The first NDEF tag read by this session is invalid.

NFCReaderSessionInvalidationErrorSessionTerminatedUnexpectedly

The reader session terminated unexpectedly.

NFCReaderSessionInvalidationErrorSystemIsBusy

The reader session failed because the system is busy.

NFCReaderSessionInvalidationErrorUserCanceled

The user canceled the reader session.

NDEF Tag Errors

NFCNdefReaderSessionErrorTagNotWritable

The NDEF tag isn’t writable.

NFCNdefReaderSessionErrorTagSizeTooSmall

The NDEF tag memory size is too small to store the data.

NFCNdefReaderSessionErrorTagUpdateFailure

The reader session failed to update the NDEF tag.

NFCNdefReaderSessionErrorZeroLengthMessage

The NDEF tag doesn’t contain an NDEF message.

Transceive Errors

NFCReaderTransceiveErrorRetryExceeded

Too many retries have occurred.

NFCReaderTransceiveErrorTagConnectionLost

The reader lost the connection to the tag.

NFCReaderTransceiveErrorTagNotConnected

The tag isn’t in the connected state.

NFCReaderTransceiveErrorTagResponseError

The tag has responded with an error.

NFCReaderTransceiveErrorSessionInvalidated

The reader session is invalid.

Tag Command Configuration Errors

NFCTagCommandConfigurationErrorInvalidParameters

The tag has been configured with invalid parameters.

Other Errors

NFCReaderErrorUnsupportedFeature

The reader session does not support this feature.

NFCReaderErrorInvalidParameter

An input parameter is invalid.

NFCReaderErrorInvalidParameterLength

The length of an input parameter is invalid.

NFCReaderErrorParameterOutOfBound

A parameter value is outside of the acceptable boundary.

NFCReaderErrorSecurityViolation

A security violation associated with the reader session has occurred.

See Also

Errors

NFCErrorDomain

The domain for errors associated with Core NFC APIs.

NFCTagResponseUnexpectedLengthErrorKey

A user-information dictionary key that indicates an invalid received response packet length.