BackgroundTaskInterface class abstract
- Implementers
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
-
dispose(
) → void -
enqueueUniqueTask(
BackgroundTask taskCallback, String uniqueWorkName, {PlatformArguments? args, String? tag}) → Future< BackgroundTaskInfo> -
executeTask(
BackgroundTask taskCallback, {PlatformArguments? args, String? tag}) → Future< BackgroundTaskInfo> -
getEventStreamForTag(
String tag) → Stream< BackgroundEvent> -
getEventStreamForTask(
String id) → Stream< BackgroundEvent> -
getTasksWithStatus(
{required List< BtmTaskStatus> status}) → Future<List< BackgroundTaskInfo> > -
getTasksWithTag(
String tag) → Future< List< BackgroundTaskInfo> > -
getTasksWithUniqueWorkName(
String uniqueWorkName) → Future< List< BackgroundTaskInfo> > -
init(
) → Future< void> -
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