Added in API level 9

Callback


interface Callback
android.view.InputQueue.Callback

Interface to receive notification of when an InputQueue is associated and dissociated with a thread.

Summary

Public methods
abstract Unit

Called when the given InputQueue is now associated with the thread making this call, so it can start receiving events from it.

abstract Unit

Called when the given InputQueue is no longer associated with the thread and thus not dispatching events.

Public methods

onInputQueueCreated

Added in API level 9
abstract fun onInputQueueCreated(queue: InputQueue!): Unit

Called when the given InputQueue is now associated with the thread making this call, so it can start receiving events from it.

onInputQueueDestroyed

Added in API level 9
abstract fun onInputQueueDestroyed(queue: InputQueue!): Unit

Called when the given InputQueue is no longer associated with the thread and thus not dispatching events.