BatterySemantics enum
- Inheritance
- Implemented types
- Available extensions
Values
- batteryLevel → const BatterySemantics
-
const BatterySemantics('battery.level')
- batteryState → const BatterySemantics
-
const BatterySemantics('battery.state')
- batteryStateFull → const BatterySemantics
-
Battery state values
const BatterySemantics('battery.state.full')
- batteryStateCharging → const BatterySemantics
-
const BatterySemantics('battery.state.charging')
- batteryStateConnectedNotCharging → const BatterySemantics
-
const BatterySemantics('battery.state.connected_not_charging')
- batteryStateDischanrging → const BatterySemantics
-
const BatterySemantics('battery.state.discharging')
- batteryStateUnknown → const BatterySemantics
-
const BatterySemantics('battery.state.unknown')
- batterySaveMode → const BatterySemantics
-
const BatterySemantics('battery.save_mode')
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<
BatterySemantics> - A constant List of the values in this enum, in order of their declaration.