Stay organized with collections
Save and categorize content based on your preferences.
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
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 |
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# InputQueue.Callback\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Methods](#pubmethods) \n\nInputQueue.Callback\n===================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/view/InputQueue.Callback \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nInputQueue.Callback\n`\n\n\n`\n\n\n`\n\n|----------------------------------|\n| android.view.InputQueue.Callback |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [NativeActivity](/reference/android/app/NativeActivity) |---------------------------------------------------------|------------------------------------------------------------------------------------------| | [NativeActivity](/reference/android/app/NativeActivity) | Convenience for implementing an activity that will be implemented purely in native code. | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nInterface to receive notification of when an InputQueue is associated\nand dissociated with a thread.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onInputQueueCreated](/reference/android/view/InputQueue.Callback#onInputQueueCreated(android.view.InputQueue))`(`[InputQueue](/reference/android/view/InputQueue)` queue) ` Called when the given InputQueue is now associated with the thread making this call, so it can start receiving events from it. |\n| ` abstract void` | ` `[onInputQueueDestroyed](/reference/android/view/InputQueue.Callback#onInputQueueDestroyed(android.view.InputQueue))`(`[InputQueue](/reference/android/view/InputQueue)` queue) ` Called when the given InputQueue is no longer associated with the thread and thus not dispatching events. |\n\nPublic methods\n--------------\n\n### onInputQueueCreated\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onInputQueueCreated (InputQueue queue)\n```\n\nCalled when the given InputQueue is now associated with the\nthread making this call, so it can start receiving events from it.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|---------------------|\n| `queue` | `InputQueue` \u003cbr /\u003e |\n\n### onInputQueueDestroyed\n\nAdded in [API level 9](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onInputQueueDestroyed (InputQueue queue)\n```\n\nCalled when the given InputQueue is no longer associated with\nthe thread and thus not dispatching events.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|---------------------|\n| `queue` | `InputQueue` \u003cbr /\u003e |"]]