NDEFReader class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Web NFC API is used to read from and write data to compatible NFC devices, e.g. NFC tags supporting NDEF, when these devices are within the reader's magnetic induction field.
EventTarget
NDEFReader
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- NDEFReader()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onreading
↔ EventHandlerNonNull<
Event> ? -
Available on NDEFReader, provided by the PropsNDEFReader extension
getter/setter pair -
onreadingerror
↔ EventHandlerNonNull<
Event> ? -
Available on NDEFReader, provided by the PropsNDEFReader extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
dispatchEvent(
Event event) → bool -
Available on EventTarget, provided by the PropsEventTarget extension
-
makeReadOnly(
[NDEFMakeReadOnlyOptions? options]) → Future< void> -
Available on NDEFReader, provided by the PropsNDEFReader extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEventListener(
String type, EventListener? callback, [dynamic options]) → void -
Available on EventTarget, provided by the PropsEventTarget extension
-
scan(
[NDEFScanOptions? options]) → Future< void> -
Available on NDEFReader, provided by the PropsNDEFReader extension
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
dynamic message, [NDEFWriteOptions? options]) → Future< void> -
Available on NDEFReader, provided by the PropsNDEFReader extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited