MiniProgramNfcProvider class abstract interface

Optional native adapter. Native implementations independently enforce one foreground owner across engines/tasks and return sanitized NDEF values only.

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

invoke({required String miniProgramId, required String sessionId, required String action, required Map<String, dynamic> arguments}) → Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release({required String miniProgramId, required String sessionId}) → Future<void>
Idempotently stops only this exact session, including pending native I/O.
toString() → String
A string representation of this object.
inherited

Operators

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