BackgroundTracker class
Constructors
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
-
getPlatformVersion(
) → Future< String?> -
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
Static Properties
-
onLocation
→ Stream<
Map< String, dynamic> > -
no setter
Static Methods
-
addGeofence(
Geofence geofence) → Future< void> - Add a geofence
-
clearDatabase(
) → Future< void> - Clear all stored locations
-
configure(
TrackerConfig config) → Future< void> - Configure the tracker with advanced settings
-
getLocationCount(
) → Future< int> - Get count of stored locations
-
getLocations(
{int? limit}) → Future< List< LocationPoint> > - Get stored locations from database
-
removeGeofence(
String geofenceId) → Future< void> - Remove a geofence by ID
-
requestPermissions(
) → Future< bool> -
startTracking(
) → Future< void> -
stopTracking(
) → Future< void>