-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Class that provides methods for reading and writing ndef tags
Method for cancelling the current listener
readTag (): Promise<NdefTagInfo | undefined>
Function that listens until a Ndef tag is detected in the device's NFC reader. Then returns the id of the ndef tag and its decoded payload as a "content" property
Function that writes a value as the payload of a Ndef tag and returns a boolean wether the card was written successfully or not
Class that provides methods for emulating a Ndef card with your phone
hceSession: HCESession
The singleton hce session provided by react-native-hce
removeListener: HCESessionEventListenerCancel
Method to remove the current read listener
startEmulation (options: HceOptions, onRead: HceReadHandler: Promise
Method to start a hce emulation and execute a callback once is read
Method to stop the current card emulator (triggers removeListener)
The payload of the Ndef tag that will be emulated in your phone
Wether the Ndef tag that will be emulated in your phone can be assigned another payload (content) or not
Callback that will be triggered when the emulated tag is read
The Ndef tag unique id
The Ndef tag decoded payload