android-components / mozilla.components.service.fretboard.scheduler.jobscheduler / JobSchedulerSyncScheduler

JobSchedulerSyncScheduler

class JobSchedulerSyncScheduler (source)

Class used to schedule sync of experiment configuration from the server

Parameters

context - context

Constructors

<init>

JobSchedulerSyncScheduler(context: Context)

Class used to schedule sync of experiment configuration from the server

Functions

schedule

fun schedule(jobInfo: JobInfo): Unit

Schedule sync with the constrains specified

fun schedule(jobId: Int, serviceName: ComponentName): Unit

Schedule sync with the default constraints (once a day)