MifareUltralight class

NXP Mifare Ultralight. Android only; iOS reaches these through MiFare.

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxTransceiveLength → int
The value at discovery. Call getMaxTransceiveLength for the live one.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
The value at discovery. Call getTimeout for the live one.
final
type → MifareUltralightType
Which Mifare Ultralight product this is.
final

Methods

getMaxTransceiveLength() → Future<int>
The largest payload transceive accepts, in bytes.
inherited
getTimeout() → Future<Duration>
The current transceive timeout.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPages({required int pageOffset}) → Future<Uint8List>
Reads four pages -- 16 bytes -- starting at pageOffset.
setTimeout(Duration timeout) → Future<void>
Gives a slow tag more time before the exchange fails as lost.
inherited
toString() → String
A string representation of this object.
inherited
transceive(Uint8List data) → Future<Uint8List>
Sends a raw command to the tag and returns its answer.
inherited
writePage({required int pageOffset, required Uint8List data}) → Future<void>
Writes one four-byte page.

Operators

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

Static Methods

from(NfcTag tag) → MifareUltralight?
Returns an instance for tag, or null when the tag is not a Mifare Ultralight.