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

# SyncJob

`abstract class SyncJob : JobService` (source)

JobScheduler job used to updating the list of experiments

### Constructors

<init> | `SyncJob()` JobScheduler job used to updating the list of experiments

### Functions

getFretboard | `abstract fun getFretboard(): Fretboard` Used to provide the instance of Fretboard the app is using
onStartJob | `open fun onStartJob(params: JobParameters): Boolean`
onStopJob | `open fun onStopJob(params: JobParameters?): Boolean`

### Extension Properties

appVersionName | `val Context.appVersionName: String?` The (visible) version name of the application, as specified by the tag's versionName attribute. E.g. "2.0".

### Extension Functions

isOSOnLowMemory | `fun Context.isOSOnLowMemory(): Boolean` Returns whether or not the operating system is under low memory conditions.
isPermissionGranted | `fun Context.isPermissionGranted(vararg permission: String): Boolean` Returns if a list of permission have been granted, if all the permission have been granted returns true otherwise false.
systemService | `fun <T> Context.systemService(name: String): T` Returns the handle to a system-level service by name.