MethodChannelBackgroundTracker class
An implementation of BackgroundTrackerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- BackgroundTrackerPlatform
- MethodChannelBackgroundTracker
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
-
onLocation
→ Stream<
Map< String, dynamic> > -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addGeofence(
Geofence geofence) → Future< void> -
override
-
clearDatabase(
) → Future< void> -
override
-
configure(
TrackerConfig config) → Future< void> -
override
-
getLocationCount(
) → Future< int> -
override
-
getLocations(
{int? limit}) → Future< List< LocationPoint> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeGeofence(
String geofenceId) → Future< void> -
override
-
requestPermissions(
) → Future< bool> -
override
-
startTracking(
) → Future< void> -
override
-
stopTracking(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited