MethodChannelNfcHostCardEmulation class
An implementation of NfcHostCardEmulationPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- NfcHostCardEmulationPlatform
- MethodChannelNfcHostCardEmulation
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addApduResponse(
int port, Uint8List data) → Future< void> -
Adds an APDU response to the specified port
override
-
checkDeviceNfcState(
) → Future< NfcState> -
Checks device's NFC state
override
-
init(
dynamic args, StreamController< NfcApduCommand> streamController) → Future<void> -
Initializes the HCE with the specified parameters
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeApduResponse(
int port) → Future< void> -
Removes an APDU response from the specified port
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited