Pausable

interface Pausable : Completable

Defines an activity that can be paused and resumed.

Inheritors

Properties

Link copied to clipboard
abstract val paused: Pool<(source: Pausable) -> Unit>

Notifies when this item is paused

Link copied to clipboard
abstract val resumed: Pool<(source: Pausable) -> Unit>

Notifies when this item is resumed

Inherited properties

Link copied to clipboard
abstract val canceled: Pool<(source: Completable) -> Unit>

Notifies when this item is canceled

Link copied to clipboard
abstract val completed: Pool<(source: Completable) -> Unit>

Notifies when this item is completed

Functions

Link copied to clipboard
abstract fun pause()

Pauses this item

Link copied to clipboard
abstract fun resume()

Resumes this item

Inherited functions

Link copied to clipboard
abstract fun cancel()