tracelet_platform_interface library
The platform interface for the Tracelet background geolocation plugin.
This package provides the abstract TraceletPlatform class that platform implementations must extend, along with shared type definitions and the default MethodChannelTracelet implementation.
Classes
- AdaptiveContext
- Contextual data used by AdaptiveSamplingEngine to compute the optimal distance filter for each location fix.
- AdaptiveSamplingEngine
- Calculates optimal distance filters based on multi-factor context.
- AdaptiveSamplingResult
- Result of an adaptive sampling computation.
- GeofenceEvaluator
- Pure-Dart high-accuracy geofence proximity evaluator.
- GeofenceTransition
- A single geofence state transition detected by GeofenceEvaluator.
- GeoUtils
- Pure-Dart geospatial utility functions.
- KalmanLocationFilter
- 2D Extended Kalman Filter for GPS coordinate smoothing.
- LocationProcessor
- Pure-Dart location filtering engine.
- LocationProcessorResult
- Result of processing a location through LocationProcessor.
- MethodChannelTracelet
- A TraceletPlatform implementation that uses MethodChannel and EventChannels.
- PersistDecider
- Pure-Dart persistence decision logic.
- ScheduleParser
- Pure-Dart schedule parsing and matching.
- ScheduleWindow
- A parsed schedule window.
- TraceletEvents
- EventChannel path constants for Tracelet.
- TraceletPlatform
- The interface that platform implementations of Tracelet must extend.
- TripManager
- Tracks trips based on motion state transitions.
Enums
- AccuracyAuthorization
- Accuracy authorization (iOS 14+).
- ActivityConfidence
- Confidence level for activity detection.
- ActivityType
- Activity types detected by the motion detection engine.
- AdaptiveSource
- Which factor was the primary driver of the adaptive calculation.
- AuthorizationStatus
- Authorization status for location permissions.
- DesiredAccuracy
- Desired accuracy levels for location requests.
- GeofenceAction
- Geofence transition actions.
- HttpMethod
- HTTP method for sync.
- LocationActivityType
- iOS activity type hints for CLLocationManager.
- LocationFilterPolicy
- How the location filter handles rejected locations.
- LocationOrder
- Sort order for location queries.
- LogLevel
- Log levels for the Tracelet logger.
- MockDetectionLevel
- Controls the aggressiveness of mock/spoofed location detection.
- PersistMode
- Which record types to persist to the local database.
- TrackingMode
- Tracking modes.