NdefAndroid class

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

Use Ndef.from(tag) for reading and writing; this is for the two facts only Android knows.

Properties

canMakeReadOnly bool
Whether Ndef.writeLock() can succeed on this tag. Not every tag can be locked, and iOS offers no way to ask at all.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The NFC Forum tag type, such as org.nfcforum.ndef.type2.
final

Methods

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) NdefAndroid?
Returns an instance for tag, or null when the tag does not hold NDEF.