android-components / mozilla.components.service.fretboard.scheduler.workmanager / SyncWorker

SyncWorker

abstract class SyncWorker : Worker (source)

Constructors

Name Summary
<init> SyncWorker(context: <ERROR CLASS>, params: WorkerParameters)

Properties

Name Summary
fretboard abstract val fretboard: Fretboard
Used to provide the instance of Fretboard the app is using

Functions

Name Summary
doWork open fun doWork(): Result

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.