HandlerContext
class HandlerContext : CoroutineDispatcher, Delay
Implements CoroutineDispatcher on top of an arbitrary Android Handler.
Parameters
handler
- a handler.
name
- an optional name for debugging.
Constructors
Implements CoroutineDispatcher on top of an arbitrary Android Handler. |
Functions
suspend fun awaitFrame(): Long Awaits the next animation frame and returns frame time in nanoseconds. |
|
fun dispatch( |
|
fun hashCode(): Int |
|
fun invokeOnTimeout( |
|
fun scheduleResumeAfterDelay( |
|
fun toString(): String |