background_task library

Classes

BackgroundTask
BackgroundTask is a class that manages background tasks.

Enums

AndroidDesiredAccuracy
ChannelName
DesiredAccuracy
DesiredAccuracy is an enumeration representing the desired accuracy of location information.
StatusEventType
StatusEventType is an enumeration representing the type of status event.

Typedefs

BackgroundHandler = void Function(Location)
BackgroundHandler is a type for a function that updates location.
Location = ({double? lat, double? lng})
Location is a type representing latitude and longitude.
StatusEvent = ({String? message, StatusEventType status})
StatusEvent is a type representing a status event.