Skip to main content

Module platform_nfc

Module platform_nfc 

Source
Expand description

NFC host capabilities.

The core crate only defines portable typed requests, results, and capability identities. Shells decide which platform NFC APIs can satisfy them.

Structs§

CancelNfcSessionCapability
EmulateNfcTagCapability
GetNfcAvailabilityCapability
NfcAvailability
NFC operation support reported by the active shell.
NfcEmulationRequest
NFC card-emulation request for hosts that support it.
NfcError
Portable NFC error payload.
NfcRecord
Portable NDEF-like record payload.
NfcScanRequest
One-shot NFC read request.
NfcSessionReceipt
Receipt for write/emulation/session operations.
NfcTag
A tag returned by a scan operation.
NfcTagDiscovered
Built-in action for host-delivered NFC tag events.
NfcWriteRequest
NFC write request. Hosts may require the user to tap a writable tag after this operation starts.
ScanNfcTagCapability
WriteNfcTagCapability

Enums§

NfcRecordTypeNameFormat
NFC Forum NDEF type-name-format value.
NfcTechnology
NFC technology family requested by an app or discovered on a tag.

Constants§

CANCEL_NFC_SESSION
EMULATE_NFC_TAG
GET_NFC_AVAILABILITY
SCAN_NFC_TAG
WRITE_NFC_TAG