NdefIos class

What CoreNFC reports about a tag's NDEF support beyond what the cross-platform Ndef exposes.

Use Ndef.from(tag) for reading and writing; this adds the live status query, which Android has no equivalent for.

Properties

capacity → int
The largest message the tag can hold, in bytes, as captured at discovery.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → NdefStatus
The status captured at discovery.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryStatus() → Future<QueryNdefStatusResponse>
Re-reads the status and capacity from the tag.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

from(NfcTag tag) → NdefIos?
Returns an instance for tag, or null when the tag does not hold NDEF.