Device enum

device.* attribute keys from the OpenTelemetry semantic-conventions attribute registry.

Inheritance
Implemented types
Available extensions

Values

deviceId → const Device

A unique identifier representing the device

Examples: 123456789012345, 01:23:45:67:89:AB

Stability: development

const Device('device.id')
deviceManufacturer → const Device

The name of the device manufacturer

Examples: Apple, Samsung

Stability: development

const Device('device.manufacturer')
deviceModelIdentifier → const Device

The model identifier for the device

Examples: iPhone3,4, SM-G920F

Stability: development

const Device('device.model.identifier')
deviceModelName → const Device

The marketing name for the device model

Examples: iPhone 6s Plus, Samsung Galaxy S6

Stability: development

const Device('device.model.name')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
key → String
The attribute key string as defined in the OpenTelemetry specification.
final
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
toMapEntry(Object value) → MapEntry<String, Object>

Available on OTelSemantic, provided by the OTelSemanticExtension extension

Converts this semantic attribute and its value to a MapEntry.
toString() → String
A string representation of this object.
override

Operators

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

Constants

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