InternalPluginServiceHandler class
- Inheritance
-
- Object
- TaskHandler
- InternalPluginServiceHandler
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
-
onDestroy(
DateTime timestamp, bool isTimeout) → Future< void> -
Called when the task is destroyed.
override
-
onNotificationButtonPressed(
String id) → void -
Called when the notification button is pressed.
inherited
-
onNotificationDismissed(
) → void -
Called when the notification itself is dismissed.
inherited
-
onNotificationPressed(
) → void -
Called when the notification itself is pressed.
inherited
-
onReceiveData(
Object data) → void -
Called when data is sent using
FlutterForegroundTask.sendDataToTask
.inherited -
onRepeatEvent(
DateTime timestamp) → void -
Called based on the eventAction set in
ForegroundTaskOptions
.override -
onStart(
DateTime timestamp, TaskStarter starter) → 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