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

SyncJob

abstract class SyncJob (source)

JobScheduler job used to updating the list of experiments

Constructors

Name Summary
<init> SyncJob()
JobScheduler job used to updating the list of experiments

Functions

Name Summary
getFretboard abstract fun getFretboard(): Fretboard
Used to provide the instance of Fretboard the app is using
onStartJob open fun onStartJob(params: <ERROR CLASS>): Boolean
onStopJob open fun onStopJob(params: <ERROR CLASS>?): Boolean

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.