NfcB class

The class provides access to NfcB API for Android.

Acquire NfcB instance using NfcB.from.

Constructors

NfcB({required NfcTag tag, required Uint8List identifier, required Uint8List applicationData, required Uint8List protocolInfo, required int maxTransceiveLength})
Constructs an instance with the given values for testing.
const

Properties

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

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 NfcB command to the tag.

Operators

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

Static Methods

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