-
- All Implemented Interfaces:
-
androidx.lifecycle.LifecycleEventObserver,androidx.lifecycle.LifecycleObserver,io.getunleash.android.http.NetworkListener
public final class LifecycleAwareTaskManager implements LifecycleEventObserver, NetworkListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLifecycleAwareTaskManager.Companion
-
Constructor Summary
Constructors Constructor Description LifecycleAwareTaskManager(List<DataJob> dataJobs, Boolean networkAvailable, CoroutineScope scope, CoroutineContext ioContext)
-
Method Summary
Modifier and Type Method Description final Unitstop()UnitonStateChanged(LifecycleOwner source, Lifecycle.Event event)UnitonAvailable()UnitonLost()-
-
Constructor Detail
-
LifecycleAwareTaskManager
LifecycleAwareTaskManager(List<DataJob> dataJobs, Boolean networkAvailable, CoroutineScope scope, CoroutineContext ioContext)
-
-
Method Detail
-
onStateChanged
Unit onStateChanged(LifecycleOwner source, Lifecycle.Event event)
-
onAvailable
Unit onAvailable()
-
-
-
-