Expand description
§Bindings to the CoreNFC
framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- NFCFeli
CaEncryption Id - Encryption Identifier parameter in response of Request Service V2
- NFCFeli
CaPolling Request Code - Request code parameter for the polling command
- NFCFeli
CaPolling Time Slot - Time slot parameter for the polling command
- NFCIS
O7816APDU - ISO7816 Application Data Unit (APDU).
- NFCIS
O15693 Custom Command Configuration - Configuration options for the Manufacturer Custom command.
- NFCIS
O15693 Read Multiple Blocks Configuration - Configuration options for the Read Multiple Blocks command.
- NFCIS
O15693 Reader Session Deprecated - Reader session for processing ISO15693 tags.
- NFCIS
O15693 Request Flag - Apple’s documentation
- NFCIS
O15693 Response Flag - Apple’s documentation
- NFCMi
Fare Family - Apple’s documentation
- NFCNDEF
Message - A NDEF message consists of payload records. The maximum size of the NDEF message is limited to 128KB.
- NFCNDEF
Payload - A NDEF message payload consists of Type Name Format, Type, Payload Identifier, and Payload data. The NDEF payload cannot result into a record that is greater than 128KB in size.
- NFCNDEF
Reader Session - NFC reader session for processing NFC Data Exchange Format (NDEF) tags. This session requires the “com.apple.developer.nfc.readersession.formats” entitlement in your process. In addition your application’s Info.plist must contain a non-empty usage description string.
- NFCNDEF
Status - Apple’s documentation
- NFCPolling
Option - This is an exclusive value that cannot be combine with other NFCPollingOption values; this will override all other combinations.
- NFCReader
Error - Possible errors returned by CoreNFC framework reader session.
- NFCReader
Session - This represents a NFC reader session for processing tags; this base class cannot be instantiate. Only one NFCReaderSession can be active at any time in the system. Subsequent opened sessions will get queued up and processed by the system in FIFO order.
- NFCTag
Command Configuration - Define configuration parameters for tag commands.
- NFCTag
Reader Session - Reader session for processing NFC tags supporting one of the
- NFCTag
Type - Apple’s documentation
- NFCType
Name Format - Type Name Format value defined by NFC Data Exchange Format (NDEF) Technical Specification from NFC Forum.
- NFCVAS
Command Configuration - Configuration for one GET VAS DATA command.
- NFCVAS
Error Code - Response APDU status word.
- NFCVAS
Mode - Apple’s documentation
- NFCVAS
Reader Session - Reader session for processing Value Added Service (VAS) tags. This session requires the “com.apple.developer.nfc.readersession.formats” entitlement in your process. In addition your application’s Info.plist must contain a non-empty usage description string.
- NFCVAS
Response - Response from one GET VAS DATA command.
Statics§
- NFCError
Domain ⚠ - Apple’s documentation
- NFCIS
O15693 ⚠TagResponse Error Key - Key in NSError userInfo dictionary. The corresponding value is the NSUInteger error code from tag’s response. Refer to ISO15693 specification for the error code values.
- NFCTag
Response ⚠Unexpected Length Error Key - Key in NSError userInfo dictionary. Presence of this key indicates the received response packet length is invalid.
Traits§
- NFCFeli
CaTag - A
- NFCIS
O7816 Tag - A
- NFCIS
O15693 Tag - A
- NFCMi
Fare Tag - A
- NFCNDEF
Reader Session Delegate - NDEF reader session callbacks. Presence of the -readerSession:didDetectTags: optional method will change the session behavior into a read-write session where
- NFCNDEF
Tag - Operations on a NDEF formatted tag. Unless it is specified all block completion handlers are dispatched on the session work queue that is associated with the tag.
- NFCReader
Session Delegate - General reader session callbacks
- NFCReader
Session Protocol - General reader session functions
- NFCTag
- A NFC / RFID tag object conforms to this protocol. The NFCReaderSession returns an instance of this type when a tag is detected.
- NFCTag
Reader Session Delegate - Tag reader session delegate
- NFCVAS
Reader Session Delegate - Value Added Service (VAS) reader session callbacks.
- NSUser
Activity CoreNFC - Category “CoreNFC” on
NSUserActivity
.