DiscoveryType enum
Used to indicate whether the discovery mechanism will be used to discover Thing Descriptions of Things or Thing Description Directories.
Constructors
- DiscoveryType({required String coreLinkFormatResourceType, required String dnsDsType})
-
const
Values
- thing → const DiscoveryType
-
Indicates that the discovery mechanism will discover Thing Descriptions of Things.
const DiscoveryType(coreLinkFormatResourceType: "wot.thing", dnsDsType: "Thing")
- directory → const DiscoveryType
-
Indicates that the discovery mechanism will discover Thing Descriptions of Thing Description Directories.
const DiscoveryType(coreLinkFormatResourceType: "wot.directory", dnsDsType: "Directory")
Properties
- coreLinkFormatResourceType → String
-
The Core Link Format (RFC 6690) resource type that is used for this
type of discovery mechanism
final
- dnsDsType → String
-
The value for "type" that is used for this discovery variant in TXT
records obtained during DNS-based service discovery.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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<
DiscoveryType> - A constant List of the values in this enum, in order of their declaration.