MifareClassicAndroid class final

Provides access to MIFARE Classic operations for Android.

Acquire an instance using from(NfcTag).

Properties

blockCount → int
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectorCount → int
final
size → int
final
tag → NfcTagAndroid
The tag instance backing of this instance.
final
type → MifareClassicTypeAndroid
final

Methods

authenticateSectorWithKeyA({required int sectorIndex, required Uint8List key}) → Future<bool>
authenticateSectorWithKeyB({required int sectorIndex, required Uint8List key}) → Future<bool>
decrement({required int blockIndex, required int value}) → Future<void>
increment({required int blockIndex, required int value}) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readBlock({required int blockIndex}) → Future<Uint8List>
restore({required int blockIndex}) → Future<void>
toString() → String
A string representation of this object.
inherited
transceive(Uint8List bytes) → Future<Uint8List>
transfer({required int blockIndex}) → Future<void>
writeBlock({required int blockIndex, required Uint8List data}) → Future<void>

Operators

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

Static Methods

from(NfcTag tag) → MifareClassicAndroid?
Creates an instance of this class for the given tag.