Crate objc2_core_nfc

Source
Expand description

§Bindings to the CoreNFC framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

NFCFeliCaEncryptionId
Encryption Identifier parameter in response of Request Service V2
NFCFeliCaPollingRequestCode
Request code parameter for the polling command
NFCFeliCaPollingTimeSlot
Time slot parameter for the polling command
NFCISO7816APDU
ISO7816 Application Data Unit (APDU).
NFCISO15693CustomCommandConfiguration
Configuration options for the Manufacturer Custom command.
NFCISO15693ReadMultipleBlocksConfiguration
Configuration options for the Read Multiple Blocks command.
NFCISO15693ReaderSessionDeprecated
Reader session for processing ISO15693 tags.
NFCISO15693RequestFlag
Apple’s documentation
NFCISO15693ResponseFlag
Apple’s documentation
NFCMiFareFamily
Apple’s documentation
NFCNDEFMessage
A NDEF message consists of payload records. The maximum size of the NDEF message is limited to 128KB.
NFCNDEFPayload
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.
NFCNDEFReaderSession
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.
NFCNDEFStatus
Apple’s documentation
NFCPollingOption
This is an exclusive value that cannot be combine with other NFCPollingOption values; this will override all other combinations.
NFCReaderError
Possible errors returned by CoreNFC framework reader session.
NFCReaderSession
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.
NFCTagCommandConfiguration
Define configuration parameters for tag commands.
NFCTagReaderSession
Reader session for processing NFC tags supporting one of the
NFCTagType
Apple’s documentation
NFCTypeNameFormat
Type Name Format value defined by NFC Data Exchange Format (NDEF) Technical Specification from NFC Forum.
NFCVASCommandConfiguration
Configuration for one GET VAS DATA command.
NFCVASErrorCode
Response APDU status word.
NFCVASMode
Apple’s documentation
NFCVASReaderSession
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.
NFCVASResponse
Response from one GET VAS DATA command.

Statics§

NFCErrorDomain
Apple’s documentation
NFCISO15693TagResponseErrorKey
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.
NFCTagResponseUnexpectedLengthErrorKey
Key in NSError userInfo dictionary. Presence of this key indicates the received response packet length is invalid.

Traits§

NFCFeliCaTag
A
NFCISO7816Tag
A
NFCISO15693Tag
A
NFCMiFareTag
A
NFCNDEFReaderSessionDelegate
NDEF reader session callbacks. Presence of the -readerSession:didDetectTags: optional method will change the session behavior into a read-write session where
NFCNDEFTag
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.
NFCReaderSessionDelegate
General reader session callbacks
NFCReaderSessionProtocol
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.
NFCTagReaderSessionDelegate
Tag reader session delegate
NFCVASReaderSessionDelegate
Value Added Service (VAS) reader session callbacks.
NSUserActivityCoreNFC
Category “CoreNFC” on NSUserActivity.

Type Aliases§

EncryptionId
Apple’s documentation
PollingRequestCode
Apple’s documentation
PollingTimeSlot
Apple’s documentation
RequestFlag
Apple’s documentation
VASErrorCode
Apple’s documentation
VASMode
Apple’s documentation