LocationTaskHandler class
Handler for the location tracking task
- Inheritance
-
- Object
- TaskHandler
- LocationTaskHandler
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onButtonPressed(
String id) → void -
onDestroy(
DateTime timestamp, SendPort? sendPort) → Future< void> -
Called when the task is destroyed.
override
-
onEvent(
DateTime timestamp, SendPort? sendPort) → Future< void> -
onNotificationButtonPressed(
String id) → void -
Called when the notification button on the Android platform is pressed.
inherited
-
onNotificationPressed(
) → void -
Called when the notification itself on the Android platform is pressed.
override
-
onRepeatEvent(
DateTime timestamp, SendPort? sendPort) → Future< void> -
Called every
intervalmilliseconds in ForegroundTaskOptions.override -
onStart(
DateTime timestamp, SendPort? sendPort) → Future< void> -
Called when the task is started.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited