BackgroundLocation class
BackgroundLocation plugin to get background lcoation updates in iOS and Android
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
-
getCurrentLocation(
) → Future< Location> - Get the current location once.
-
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 Methods
-
getLocationUpdates(
dynamic location(Location)) → dynamic - Register a function to recive location updates as long as the location service has started
-
isServiceRunning(
) → Future< bool> - Check if the location update service is running
-
setAndroidConfiguration(
int interval) → dynamic -
setAndroidNotification(
{String? title, String? message, String? icon}) → dynamic -
startLocationService(
{double distanceFilter = 0.0, bool forceAndroidLocationManager = false}) → dynamic - Start receiving location updated
-
stopLocationService(
) → dynamic - Stop receiving location updates