NfcHce class
Constructors
Properties
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
stream
→ Stream<
NfcApduCommand> -
The stream that will notify about the received APDU commands.
Listen to it and do some action.
no setter
Static Methods
-
addApduResponse(
int port, List< int> data) → Future<void> - Adds an APDU response to the specified port (P2 byte in APDU command).
-
checkDeviceNfcState(
) → Future< NfcState> - Checks device's NFC state
-
init(
{required Uint8List aid, required bool permanentApduResponses, required bool listenOnlyConfiguredPorts}) → Future< void> - Initializes the HCE with the specified parameters:
-
removeApduResponse(
int port) → Future< void> - Removes an APDU response from the specified port (P2 byte in APDU command)