HandoverSelectRecord class

Inheritance

Constructors

HandoverSelectRecord({String versionString = "1.3", ErrorRecord? error, List<AlternativeCarrierRecord>? alternativeCarrierRecordList})

Properties

allRecordList List<NDEFRecord>
Gets all records (carriers and unknown) as a single list.
no setteroverride
alternativeCarrierRecordList List<AlternativeCarrierRecord>
List of alternative carrier records.
getter/setter pairinherited
basicInfoString String
Gets a basic information string containing ID, TNF, and type.
no setterinherited
decodedType String
Gets the type as a decoded UTF-8 string.
getter/setter pairinherited-setteroverride-getter
encodedType Uint8List?
The raw encoded type bytes.
getter/setter pairinherited
error ErrorRecord?
getter/setter pair
errorRecordList List<ErrorRecord>
getter/setter pair
flags NDEFRecordFlags
The flags header of the record.
getter/setter pairinherited
fullType String?
Gets the full qualified type including TNF prefix.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Uint8List?
The ID of the record (optional).
getter/setter pairinherited
idString String
Hex String of id, return "(empty)" when the id bytes is null
getter/setter pairinherited
maxPayloadLength int?
Gets the maximum payload length for this record instance.
no setterinherited
minPayloadLength int
Gets the minimum payload length for this record instance.
no setterinherited
payload Uint8List?
The payload data of the record.
getter/setter pairinherited-setteroverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tnf TypeNameFormat
Gets the Type Name Format of this record.
getter/setter pairinherited
type Uint8List?
Gets the type as raw bytes.
getter/setter pairinherited
unknownRecordList List<NDEFRecord>
List of unknown/unrecognized records.
getter/setter pairinherited
version Version
The handover protocol version.
getter/setter pairinherited

Methods

addRecord(NDEFRecord record) → void
override
encode() Uint8List
Encode this NDEFRecord to raw byte data.
inherited
isEqual(NDEFRecord other) bool
Checks if this record is equal to other by comparing TNF, type, ID, and payload.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

typeFactory(TypeNameFormat tnf, String classType) NDEFRecord
Type factory for handover constituent records.
override

Constants

classType → const String