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 IAccessibilityDelegate

interface IAccessibilityDelegate
Extends com.amazon.apmf.IStandard This interface exposes a collection of APIs which the user can implement to emit custom properties for accessibility information. Each function of this delegate provides an additional parameter which holds a pointer to the default implementation of this delegate. The default delegate will hold a reference to the appropriate class onto which this delegate is set. For example, if this delegate is set to an ITextView, then the default delegate will hold a reference relevant to ITextView properties. This enables the user to call the base implementation of the function as per the use-case (similar to calling the parent class function from the overriden function in child class).

Methods

build()

void build(IAccessibilityContext* context, IAccessibilityDelegate* defaultDelegate)
This method provides functionality to set custom accessibility properties as per the use-case of the user. By default this function only adds a node corresponding to the view in the UCC tree, but does not emit any accessibility information.

Parameters

context
IAccessibilityContext* — Required IAccessibilityContext.
defaultDelegate
IAccessibilityDelegate* — Required IAccessibilityDelegate Pointer to the default implementation of IAccessibilityDelegate. defaultDelegate#buildAccessibilityInfo will add a node corresponding to the view in the UCC tree, but does not emit any accessibility information.

clear()

void clear(IAccessibilityContext* context, IAccessibilityDelegate* defaultDelegate)
This method provides functionality clear all or selected accessibility traits. By default this function does not clear any accessibility traits.

Parameters

context
IAccessibilityContext* — Required IAccessibilityContext.
defaultDelegate
IAccessibilityDelegate* — Required IAccessibilityDelegate Pointer to the default implementation of IAccessibilityDelegate.
Last modified on October 29, 2026