AnnouncementExtension class abstract

Base for announcement extensions. Announcement extensions add additional functionalities to the discovery process without changing the api

User extensions should start with types above extensionUserStart, anything below is reserved

Implementers

Constructors

AnnouncementExtension(int type, String name)
Constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the extension, more for debugging purposes
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
The type id of the extension
final

Methods

data() List<int>
The binary data part of the extension
length() int
The length, in bytes of the announcement data part
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