nfc_in_flutter library

Classes

NDEFMessage
NDEFRecord
NDEFTag
NFC
NFCDispatchReaderMode
NFCDispatchReaderMode uses the Android NFC Foreground Dispatch API to read tags with.
NFCMessage
NFCNormalReaderMode
NFCNormalReaderMode uses the platform's normal reading mode. This does not allow reading from emulated host cards.
NFCReaderMode
NFCReaderMode is an interface for different reading modes
NFCTag

Enums

MessageType
NFCTypeNameFormat

Exceptions / Errors

NDEFBadFormatException
NDEFBadFormatException is thrown when a tag is read as NDEF, but it is not properly formatted.
NDEFReadingUnsupportedException
NDEFReadingUnsupportedException is thrown if reading NDEF tags are either not supported or not enabled on the device.
NDEFUnsupportedException
NDEFUnsupportedException is thrown when a tag does not support NDEF, but is being written an NDEFMessage.
NFCIOException
NFCIOException is an I/O exception. Will happen if a tag is lost while being read or a tag could not be connected to. NFCIOException is only thrown on Android.
NFCMultipleReaderModesException
NFCMultipleReaderModesException is thrown when multiple reading streams are open, but they use different reading modes. Only 1 reading mode can be used at the same time.
NFCSessionTerminatedUnexpectedlyException
NFCSessionTerminatedUnexpectedlyException is thrown on iOS when "The reader session terminated unexpectedly".
NFCSessionTimeoutException
NFCSessionTimeoutException is thrown on iOS when the session has been active for 60 seconds.
NFCSystemIsBusyException
NFCSystemIsBusyException is thrown on iOS when "the reader session failed because the system is busy".
NFCTagNotWritableException
NFCTagNotWritableException is thrown when a non-writable tag is being written to.
NFCTagSizeTooSmallException
NFCTagSizeTooSmallException is thrown when a NDEF message larger than the tag's maximum size is being written to tag.
NFCTagUnavailableException
NFCTagUnavailableException is thrown when the NFC tag being written to is no longer in reach.
NFCTagUnwritableException
NFCTagNotWritableException is thrown when an unwritable tag is 'written to'. This could be because the reader does not support writing to NFC tags or simply the tag is read-only.
NFCUpdateTagException
NFCUpdateTagException is thrown when the reader failed to update the tag.
NFCUserCanceledSessionException
NFCUserCanceledSessionException is thrown on iOS when the users cancels the reading session (Clicks OK/done).