Krontab Template Scheduler Work
abstract class KrontabTemplateSchedulerWork(context: Context, workerParams: WorkerParameters) : KronSchedulerWork
Content copied to clipboard
Extend this class in case you wish to base on KrontabTemplate. It will automatically handle request of kronScheduler and put it in setUpRequest
Constructors
KrontabTemplateSchedulerWork
Link copied to clipboard
fun KrontabTemplateSchedulerWork(context: Context, workerParams: WorkerParameters)
Content copied to clipboard
Functions
do Work
Link copied to clipboard
get Application Context
Link copied to clipboard
get Background Executor
Link copied to clipboard
get Input Data
Link copied to clipboard
get Network
Link copied to clipboard
get Run Attempt Count
Link copied to clipboard
get Tags
Link copied to clipboard
get Task Executor
Link copied to clipboard
get Triggered Content Authorities
Link copied to clipboard
get Triggered Content Uris
Link copied to clipboard
get Worker Factory
Link copied to clipboard
is Run In Foreground
Link copied to clipboard
set Foreground
Link copied to clipboard
set Foreground Async
Link copied to clipboard
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
Content copied to clipboard
set Progress
Link copied to clipboard
set Progress Async
Link copied to clipboard
start Work
Link copied to clipboard
Sources
android source
Link copied to clipboard