fun schedule(jobInfo: JobInfo): Unit
(source)
Schedule sync with the constrains specified
jobInfo
- object with the job constraints
fun schedule(jobId: Int, serviceName: ComponentName): Unit
(source)
Schedule sync with the default constraints (once a day)