AccessibilityRequestPreparer

Object responsible to ensuring that a View is prepared to meet a synchronous request for
accessibility data.

Because accessibility requests arrive to Views synchronously on the UI thread, a View
that requires information from other processes can struggle to meet those requests. Registering
an instance of this class with AccessibilityManager allows a View to be notified when
a request is about to be made, and to asynchronously inform the accessibility system when it is
ready to meet the request.

Note: This class should only be needed in exceptional situations where a
View cannot otherwise synchronously meet the request for accessibility data.

Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.

Public constructors

AccessibilityRequestPreparer

View: The view whose requests need preparation. It must be attached to a
window. This object will retain a weak reference to this view, and will unregister itself
from AccessibilityManager if the view is detached from a window. It will not re-register
itself.

requestTypes

int: The types of requests that require preparation. Different types may
be ORed together.