NfcF class

The class provides access to NfcF API for Android.

Acquire NfcF instance using NfcF.from.

Constructors

NfcF({required NfcTag tag, required Uint8List identifier, required Uint8List manufacturer, required Uint8List systemCode, required int maxTransceiveLength, required int timeout})
Constructs an instance with the given values for testing.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier Uint8List
The value from Tag#id on Android.
final
manufacturer Uint8List
The value from NfcF#manufacturer on Android.
final
maxTransceiveLength int
The value from NfcF#maxTransceiveLength on Android.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemCode Uint8List
The value from NfcF#systemCode on Android.
final
timeout int
The value from NfcF#timeout on Android.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transceive({required Uint8List data}) Future<Uint8List>
Sends the NfcF command to the tag.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

from(NfcTag tag) NfcF?
Get an instance of NfcF for the given tag.