Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IOnceClosure

interface IOnceClosure
Extends com.amazon.apmf.IStandard Provides a closure that is executed in the looper provided in a IIMClientLooper object. When you call the enqueue method to pass an instance of a once to your looper, you must store a reference to the instance in your lamba method in the looper to avoid having it released by the framework. For more information, see the Connect and disconnect the keyboard section in the user guide.

Methods

once()

void once()
Provides access for the framework to the to the editing operation on UI thread. This method is provided by the framework and is an opaque wrapper for the operation.
Last modified on October 29, 2026