NdefFormatable class
A tag that can be formatted to hold NDEF but has not been yet. Android only: CoreNFC has no equivalent, so an unformatted tag cannot be prepared from iOS.
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
-
format(
NdefMessage firstMessage) → Future< void> -
Formats the tag and writes
firstMessage. -
formatReadOnly(
NdefMessage firstMessage) → Future< void> -
Formats the tag, writes
firstMessage, and locks it. -
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 Methods
-
from(
NfcTag tag) → NdefFormatable? -
Returns an instance for
tag, or null when the tag cannot be NDEF-formatted.