app / de.uniks.codliners.stock_simulator.background / StockbrotWorkRequest

StockbrotWorkRequest

class StockbrotWorkRequest

Manages the StockbrotWorker

Parameters

context -

Constructors

<init>

Manages the StockbrotWorker

StockbrotWorkRequest(context: Context)

Functions

addQuote

Adds a periodic StockbrotWorker to the WorkManager

fun addQuote(stockbrotQuote: StockbrotQuote): Unit

cancelAll

Removes all StockbrotWorkers from the WorkManager

fun cancelAll(): Unit

removeQuote

Removes a StockbrotWorker from the WorkManager

fun removeQuote(stockbrotQuote: StockbrotQuote): Unit