TrackingCapabilityReport class final
Native feature availability reported by the active platform implementation.
Constructors
-
TrackingCapabilityReport({required String platform, required bool backgroundTracking, required bool activityRecognition, required bool mockDetection, required bool pauseResume, required bool adaptiveSampling, required bool terminatedRecovery, bool rebootRestartBestEffort = false, List<
String> terminationRecoveryModes = const <String>[]}) -
Creates an immutable capability snapshot.
const
-
TrackingCapabilityReport.fromMap(Map<
Object?, Object?> map) -
Decodes a native capabilities payload with conservative defaults.
factory
Properties
- activityRecognition → bool
-
Whether native activity classification is available.
final
- adaptiveSampling → bool
-
Whether native moving/stationary sampling changes are supported.
final
- backgroundTracking → bool
-
Whether active routes can continue while the app is backgrounded.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mockDetection → bool
-
Whether the platform exposes mock-location evidence.
final
- pauseResume → bool
-
Whether native capture supports explicit pause and resume.
final
- platform → String
-
Native platform identifier, such as
androidorios.final - rebootRestartBestEffort → bool
-
Whether an active Android session may restart after device reboot.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terminatedRecovery → bool
-
Whether the platform can automatically rebuild a terminated tracker.
This remains OS/OEM controlled even when true.
final
-
terminationRecoveryModes
→ List<
String> -
Stable identifiers for supported termination-recovery strategies.
final
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