FeliCa class

The class provides access to NFCFeliCaTag API for iOS.

Acquire FeliCa instance using FeliCa.from.

Constructors

FeliCa({required NfcTag tag, required Uint8List currentSystemCode, required Uint8List currentIDm})
Constructs an instance with the given values for testing.
const

Properties

currentIDm Uint8List
The value from NFCFeliCaTag#currentIDm on iOS.
final
currentSystemCode Uint8List
The value from NFCFeliCaTag#currentSystemCode on iOS.
final
hashCode int
The hash code for this object.
no setterinherited
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
polling({required Uint8List systemCode, required FeliCaPollingRequestCode requestCode, required FeliCaPollingTimeSlot timeSlot}) Future<FeliCaPollingResponse>
Sends the Polling command to the tag.
readWithoutEncryption({required List<Uint8List> serviceCodeList, required List<Uint8List> blockList}) Future<FeliCaReadWithoutEncryptionResponse>
Sends the Read Without Encryption command to the tag.
requestResponse() Future<int>
Sends the Request Response command to the tag.
requestService({required List<Uint8List> nodeCodeList}) Future<List<Uint8List>>
Sends the Request Service command to the tag.
requestServiceV2({required List<Uint8List> nodeCodeList}) Future<FeliCaRequestServiceV2Response>
Sends the Request Service V2 command to the tag.
requestSpecificationVersion() Future<FeliCaRequestSpecificationVersionResponse>
Sends the Request Specification Version command to the tag.
requestSystemCode() Future<List<Uint8List>>
Sends the Request System Code command to the tag.
resetMode() Future<FeliCaStatusFlag>
Sends the Reset Mode command to the tag.
sendFeliCaCommand(Uint8List commandPacket) Future<Uint8List>
Sends the FeliCa command packet data to the tag.
toString() String
A string representation of this object.
inherited
writeWithoutEncryption({required List<Uint8List> serviceCodeList, required List<Uint8List> blockList, required List<Uint8List> blockData}) Future<FeliCaStatusFlag>
Sends the Write Without Encryption command to the tag.

Operators

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

Static Methods

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