Language

NFCReaderError Enum

Definition

Enumerates errors relating to NFC tag detection and reading.

[ObjCRuntime.Native]
public enum NFCReaderError
[<ObjCRuntime.Native>]
type NFCReaderError = 
Inheritance
NFCReaderError
Attributes

Fields

Name Value Description
UnsupportedFeature 1

The session does not support the requested feature.

SecurityViolation 2

The session violated a security protocol.

InvalidParameter 3
InvalidParameterLength 4
ParameterOutOfBound 5
RadioDisabled 6
Ineligible 7
AccessNotAccepted 8
ReaderTransceiveErrorTagConnectionLost 100

The connection to the tag was lost.

ReaderTransceiveErrorRetryExceeded 101

The number of configured retries was exceeded.

ReaderTransceiveErrorTagResponseError 102

The tag responded with an error message.

ReaderTransceiveErrorSessionInvalidated 103
ReaderTransceiveErrorTagNotConnected 104
ReaderTransceiveErrorPacketTooLong 105
ReaderSessionInvalidationErrorUserCanceled 200

The session was canceled by the user.

ReaderSessionInvalidationErrorSessionTimeout 201

The session timed out.

ReaderSessionInvalidationErrorSessionTerminatedUnexpectedly 202

The session terminated unexpectedly.

ReaderSessionInvalidationErrorSystemIsBusy 203

The session was invalidated because the system was busy (only one session can run at a time).

ReaderSessionInvalidationErrorFirstNDEFTagRead 204

The initial NDEF tag was invalid.

TagCommandConfigurationErrorInvalidParameters 300

The command configuration for the tag included invalid values.

NdefReaderSessionErrorTagNotWritable 400
NdefReaderSessionErrorTagUpdateFailure 401
NdefReaderSessionErrorTagSizeTooSmall 402
NdefReaderSessionErrorZeroLengthMessage 403
PaymentTagReaderSessionErrorLocationAuthorizationDenied 500

Location authorization was denied by the user.

PaymentTagReaderSessionErrorLocationServiceRestricted 501

Active restrictions prevent the app from using location services.

PaymentTagReaderSessionErrorOnDeviceLocationUnavailable 502

The location was provided by an accessory or simulated in software instead of produced by on-device hardware.

Applies to