RunnableScheduler
public
interface
RunnableScheduler
| androidx.work.RunnableScheduler |
Can be used to schedule Runnables after a delay in milliseconds.
This is used by the in-process scheduler to schedule timed work.
Summary
Public methods | |
|---|---|
abstract
void
|
cancel(Runnable runnable)
Cancels the |
abstract
void
|
scheduleWithDelay(long delayInMillis, Runnable runnable)
Schedules a |
Public methods
cancel
public abstract void cancel (Runnable runnable)
Cancels the Runnable which was previously scheduled using
scheduleWithDelay(long, Runnable).
| Parameters | |
|---|---|
runnable |
Runnable: The Runnable to be cancelled
|