Interface IAccessibilityService
interface IAccessibilityService
Extends com.amazon.apmf.IStandard
Centralized interface providing access to accessibility related functionality.
See also- IViewModule::makeAccessibilityService.
Methods
enableEmitChildrenInfo()
This method enables the emission of accessibility information for the children of thisvoidenableEmitChildrenInfo(IView*view)
IView.
The child views will get a callback (IAccessibilityDelegate::build) to build their accessibility
information.
Parameters
view
IView* — Required
IView The view for which children accessibility information needs to be emitted.
disableEmitChildrenInfo()
This method disables the emission of accessibility information for the children of thisvoiddisableEmitChildrenInfo(IView*view)
IView.
The child views will not get a callback (IAccessibilityDelegate::build) to build their accessibility
information.
Parameters
view
IView* — Required
IView The view for which emission of children accessibility information needs to be
disabled.
invalidate()
This method indicates that thisvoidinvalidate(IView*view)
IView’s accessibility properties have changed and
requires re-build of its accessibility information.
Parameters
view
IView* — Required
IView The view which needs to be marked dirty for accessibility information.
setAsExcluded()
This method marks thevoidsetAsExcluded(IView*view)
IView for not emitting its accessibility information.
Parameters
view
IView* — Required
IView The view which needs to be excluded from accessibility.
setAsIncluded()
This method marks thevoidsetAsIncluded(IView*view)
IView for emitting its accessibility information.
Parameters
view
IView* — Required
IView The view which needs to be excluded from accessibility.
setDelegate()
This method sets the accessibility delegate to the provided view. Setting the delegate will allow the user to get a callback to build and clear the accessibility information.voidsetDelegate(IView*view,IAccessibilityDelegate*accessibilityDelegate)
Parameters
view
IView* — Required
IView The view for which accessibility information needs to be set.
accessibilityDelegate
IAccessibilityDelegate* — Required
IAccessibilityDelegate Instance of the delegate.
the consumer.

