NdefTypeNameFormat enum

The NDEF Type-Name-Format, as defined by the NFC Forum NDEF specification.

The ordinals are the on-tag values 0x00..0x06, so NdefRecord can encode one directly.

Inheritance
Available extensions

Values

empty → const NdefTypeNameFormat

The record carries no type and no payload.

wellKnown → const NdefTypeNameFormat

An NFC Forum well-known type: T for text, U for URI, Sp for a smart poster.

media → const NdefTypeNameFormat

Media data typed by a MIME type, as defined by RFC 2046.

absoluteUri → const NdefTypeNameFormat

An absolute URI, used as the type itself rather than as content.

external → const NdefTypeNameFormat

An application-specific type, namespaced by a domain: example.com:widget.

unknown → const NdefTypeNameFormat

The payload's type is not known.

unchanged → const NdefTypeNameFormat

A continuation of the previous record's payload. Only valid inside a chunked record.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<NdefTypeNameFormat>
A constant List of the values in this enum, in order of their declaration.