PeriodicSyncManager class
The interface of the Web Periodic Background Synchronization
API
provides a way to register tasks to be run in a service
worker at periodic intervals with network connectivity. These
tasks are referred to as periodic background sync requests.
Access through the ServiceWorkerRegistration.periodicSync
.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- PeriodicSyncManager()
-
factory
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
-
getTags(
) → Future< Iterable< String> > -
Available on PeriodicSyncManager, provided by the PropsPeriodicSyncManager extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String tag, [BackgroundSyncOptions? options]) → Future< void> -
Available on PeriodicSyncManager, provided by the PropsPeriodicSyncManager extension
-
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
String tag) → Future< void> -
Available on PeriodicSyncManager, provided by the PropsPeriodicSyncManager extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited