public static interface InputQueue.Callback

android.view.InputQueue.Callback

Known indirect subclasses

NativeActivity Convenience for implementing an activity that will be implemented purely in native code. 


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

Summary

Public methods

abstract void onInputQueueCreated(InputQueue queue)

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

abstract void onInputQueueDestroyed(InputQueue queue)

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

Public methods

onInputQueueCreated

public abstract void onInputQueueCreated (InputQueue queue)

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

Parameters
queue InputQueue

onInputQueueDestroyed

public abstract void onInputQueueDestroyed (InputQueue queue)

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

Parameters
queue InputQueue

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.