SignificantChangeManager class

Manager for significant location change monitoring.

This provides a Dart-side abstraction over the native significant location change APIs, with fallback emulation on Android.

Constructors

SignificantChangeManager()

Properties

config SignificantChangeConfig?
Current configuration.
no setter
events Stream<SignificantChangeEvent>
Stream of significant change events.
no setter
hashCode int
The hash code for this object.
no setterinherited
isMonitoring bool
Whether monitoring is currently active.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Calculates distance between two coordinates in meters using Haversine formula. Disposes resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processLocation(Location location) → void
Processes a location update.
start(SignificantChangeConfig config) → void
Starts significant location change monitoring.
stop() → void
Stops monitoring.
toString() String
A string representation of this object.
inherited

Operators

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