HealthModule class

Advanced Health and Diagnostics Module.

Constructors

HealthModule()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableSmartSync({required String uploadEndpointUrl, required Map<String, String> headers, int rollLimitBytes = 2 * 1024 * 1024, bool requireWifi = true}) Future<bool>
Configures log rolling parameters and target synchronization endpoint.
getBatteryInfo() Future<BatteryInfo?>
Retrieves current battery status and health info. Returns null if battery data is unavailable.
getWifiInfo() Future<WifiInfo?>
Retrieves current WiFi diagnostics. Returns null if WiFi data is unavailable.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startLogging(LogConfig config) Future<bool>
Starts background logging of hardware telemetry.
stopLogging() Future<bool>
Stops hardware telemetry logging.
toString() String
A string representation of this object.
inherited

Operators

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