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

Name Summary
<init> JobSchedulerSyncScheduler(context: <ERROR CLASS>)
Class used to schedule sync of experiment configuration from the server

Functions

Name Summary
schedule fun schedule(jobInfo: <ERROR CLASS>): Unit
Schedule sync with the constrains specifiedfun schedule(jobId: Int, serviceName: <ERROR CLASS>): Unit
Schedule sync with the default constraints (once a day)

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.