TimedScheduler

interface TimedScheduler

Interface for abstracting time based jobs from framework execution facilities

Types

Link copied to clipboard
enum TaskType : Enum<TimedScheduler.TaskType>

Functions

Link copied to clipboard
abstract fun cancelAll(taskType: TimedScheduler.TaskType)

Cancels all the scheduled tasks of the provided type that aren't executed

Link copied to clipboard
abstract fun schedule(    runnable: Runnable,     executionDelayMillis: Long,     taskType: TimedScheduler.TaskType)

Executes runnable after executionDelayMillis.

Inheritors

Link copied to clipboard