BGProcessingTaskRequest class

A request to launch your app in the background to execute a processing task that can take minutes to complete.

Inheritance
Annotations

Constructors

BGProcessingTaskRequest(String identifier, {DateTime? earliestBeginDate, Map<String, dynamic>? input, bool? requiresExternalPower, bool? requiresNetworkConnectivity})
Instantiates a BGProcessingTaskRequest with the task identifier.
const

Properties

earliestBeginDate DateTime?
The earliest date and time at which to run the task.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier of the task associated with the request.
finalinherited
input Map<String, dynamic>?
Input data of the task.
finalinherited
requiresExternalPower bool?
Specifies if the processing task requires a device connected to power.
final
requiresNetworkConnectivity bool?
Specifies if the processing task requires network connectivity.
final
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
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited