android-components / mozilla.components.service.fretboard.scheduler.workmanager / WorkManagerSyncScheduler

# WorkManagerSyncScheduler

`class WorkManagerSyncScheduler` (source)

Class used to schedule sync of experiment configuration from the server using WorkManager

### Constructors

<init> | `WorkManagerSyncScheduler()` Class used to schedule sync of experiment configuration from the server using WorkManager

### Functions

schedule | `fun schedule(worker: Class<out SyncWorker>, interval: Pair<Long, TimeUnit> = Pair(1, TimeUnit.DAYS)): Unit` Schedule sync with the default constraints (once a day and charging)