Interface IFocusManager
interface IFocusManager
Extends com.amazon.apmf.IStandard
Centralized interface providing access to focus-related functionality.
Methods
getFocusState()
Gets the default implementation of theIFocusState*getFocusState()
IFocusState interface.
Returns
IFocusState*
The default implementation of the IFocusState interface.
getFocusNavigation()
Gets the default implementation of theIFocusNavigation*getFocusNavigation()
IFocusNavigation interface.
Returns
IFocusNavigation*
The default implementation of the IFocusNavigation interface.
getFocusDelegate()
Gets the default implementation of theIFocusDelegate*getFocusDelegate()
IFocusDelegate interface.
Returns
IFocusDelegate*
The default implementation of the IFocusDelegate interface.
addFocusChangeListener()
Adds focus change listener and returns an ISubscription object to it. Focus change events are used to track when a View gains or loses focus. Multiple focus change listeners can be added to the same View, and all registered listeners will be notified when the focus changes.com.amazon.apmf.ISubscription*addFocusChangeListener(IView*view,IFocusChangeListener*focusChangeListener)
Parameters
view
IView* — Required
The View for which to set the focus change listener.
focusChangeListener
IFocusChangeListener* — Required
Client’s callback implementation for focus change.
Returns
com.amazon.apmf.ISubscription*
An ISubscription object specific to the registered listener, which can be used for later removal.
See IFocusChangeListener

