HardwareSpecification enum Sensor Data Source
Enum for easily accessible hardware information on Android and iOS
Values
- deviceModel → const HardwareSpecification
-
Device model, e.g., "Pixel 6", "iPhone 14 Pro"
- manufacturer → const HardwareSpecification
-
Manufacturer, e.g., "Google", "Apple", "Samsung"
- osVersion → const HardwareSpecification
-
Operating system version, e.g., "Android 14", "iOS 17.2"
- totalRAM → const HardwareSpecification
-
Total physical memory (in MB), e.g., 8192
- freeRAM → const HardwareSpecification
-
Available RAM at the time of logging (in MB)
- storageTotal → const HardwareSpecification
-
Total storage space (in GB), e.g., 128
- storageFree → const HardwareSpecification
-
Free storage space available on the device (in GB), e.g., 43.2
- storageType → const HardwareSpecification
-
Storage type, e.g., "UFS 3.1", "eMMC"
- cpuInfo → const HardwareSpecification
-
CPU information, e.g., "Snapdragon 8 Gen 1, 8 cores"
- gpuInfo → const HardwareSpecification
-
GPU information, e.g., "Adreno 730", "Apple GPU (5-core)"
- screenResolution → const HardwareSpecification
-
Screen resolution, e.g., "2400x1080"
- screenDensity → const HardwareSpecification
-
Screen density (dpi), e.g., 440
- refreshRate → const HardwareSpecification
-
Screen refresh rate (Hz), e.g., 60, 120
- batteryLevel → const HardwareSpecification
-
Battery level in percentage, e.g., 87
- isCharging → const HardwareSpecification
-
Whether the device is charging, true/false
- batteryState → const HardwareSpecification
-
Current battery state, e.g., "Charging", "Full", "Unplugged"
- thermalStatus → const HardwareSpecification
-
Thermal status of the device, e.g., "Normal", "Warning", "Critical"
- cameraCount → const HardwareSpecification
-
Number of cameras available on the device
- cameraCapabilities → const HardwareSpecification
-
Camera capabilities summary, e.g., "12MP main, 4K@60fps, OIS"
- sensorAvailability → const HardwareSpecification
-
Availability of key sensors: "accelerometer, gyroscope, magnetometer, etc"
- supportedABIs → const HardwareSpecification
-
List of supported ABIs (e.g., "arm64-v8a", "armeabi-v7a")
- buildFingerprint → const HardwareSpecification
-
Unique fingerprint for the build e.g., "Magic Earth 7.1.25.17.F7E936D9.2F9D5083"
- locale → const HardwareSpecification
-
Current device locale, e.g., "en-US", "ro-RO"
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
HardwareSpecification> - A constant List of the values in this enum, in order of their declaration.