Package org.robovm.apple.corenfc
Enum NFCReaderError
- All Implemented Interfaces:
Serializable,Comparable<NFCReaderError>,NSErrorCode,ValuedEnum
public enum NFCReaderError extends Enum<NFCReaderError> implements NSErrorCode
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNFCReaderError.NSErrorWrapNested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
ValuedEnum.AsLongMarshaler, ValuedEnum.AsMachineSizedSIntMarshaler, ValuedEnum.AsMachineSizedUIntMarshaler, ValuedEnum.AsSignedByteMarshaler, ValuedEnum.AsSignedIntMarshaler, ValuedEnum.AsSignedShortMarshaler, ValuedEnum.AsUnsignedByteMarshaler, ValuedEnum.AsUnsignedIntMarshaler, ValuedEnum.AsUnsignedShortMarshaler -
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static StringgetClassDomain()static NSStringISO15693TagResponseErrorKey()static NSStringTagResponseUnexpectedLengthErrorKey()longvalue()static NFCReaderErrorvalueOf(long n)Returns the enum constant of this type with the specified name.static NFCReaderErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static NFCReaderError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ReaderErrorUnsupportedFeature
- Since:
- Available in iOS 11.0 and later.
-
ReaderErrorSecurityViolation
- Since:
- Available in iOS 11.0 and later.
-
ReaderErrorInvalidParameter
- Since:
- Available in iOS 13.0 and later.
-
ReaderErrorInvalidParameterLength
- Since:
- Available in iOS 13.0 and later.
-
ReaderErrorParameterOutOfBound
- Since:
- Available in iOS 13.0 and later.
-
ReaderErrorRadioDisabled
- Since:
- Available in iOS 14.0 and later.
-
ReaderTransceiveErrorTagConnectionLost
- Since:
- Available in iOS 11.0 and later.
-
ReaderTransceiveErrorRetryExceeded
- Since:
- Available in iOS 11.0 and later.
-
ReaderTransceiveErrorTagResponseError
- Since:
- Available in iOS 11.0 and later.
-
ReaderTransceiveErrorSessionInvalidated
- Since:
- Available in iOS 13.0 and later.
-
ReaderTransceiveErrorTagNotConnected
- Since:
- Available in iOS 13.0 and later.
-
ReaderTransceiveErrorPacketTooLong
- Since:
- Available in iOS 14.0 and later.
-
ReaderSessionInvalidationErrorUserCanceled
- Since:
- Available in iOS 11.0 and later.
-
ReaderSessionInvalidationErrorSessionTimeout
- Since:
- Available in iOS 11.0 and later.
-
ReaderSessionInvalidationErrorSessionTerminatedUnexpectedly
- Since:
- Available in iOS 11.0 and later.
-
ReaderSessionInvalidationErrorSystemIsBusy
- Since:
- Available in iOS 11.0 and later.
-
ReaderSessionInvalidationErrorFirstNDEFTagRead
- Since:
- Available in iOS 11.0 and later.
-
TagCommandConfigurationErrorInvalidParameters
- Since:
- Available in iOS 11.0 and later.
-
NdefReaderSessionErrorTagNotWritable
- Since:
- Available in iOS 13.0 and later.
-
NdefReaderSessionErrorTagUpdateFailure
- Since:
- Available in iOS 13.0 and later.
-
NdefReaderSessionErrorTagSizeTooSmall
- Since:
- Available in iOS 13.0 and later.
-
NdefReaderSessionErrorZeroLengthMessage
- Since:
- Available in iOS 13.0 and later.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getClassDomain
- Since:
- Available in iOS 11.0 and later.
-
ISO15693TagResponseErrorKey
- Since:
- Available in iOS 11.0 and later.
-
TagResponseUnexpectedLengthErrorKey
- Since:
- Available in iOS 13.0 and later.
-
value
public long value()- Specified by:
valuein interfaceValuedEnum
-
valueOf
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.)- Parameters:
n- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-