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 IDescribeElement

interface IDescribeElement
Extends com.amazon.apmf.IStandard An interface that allows describing an element. Use this interface when publishing UCC metadata for elements, and when describing elements in a IChangesetFilter.

Methods

testId()

void testId(string id)
Set the test ID of this element.

Parameters

id
string — Required the test ID

removeTestId()

void removeTestId()
Remove the test ID from this element.

names()

void names(string[] names)
Provide a list of names for this element This is a list of human or machine readable names for the object.

Parameters

names
string[] — Required the list of names for this element

removeNames()

void removeNames()
remove the names from this element.

text()

void text(TextChunk[] text)
Provide the on-screen text of this element. This list contains the text chunks displayed in this component. If the text is descriptive, and is not displayed on-screen, it should be set with setDescription instead. This method is deprecated. Replaced by IDescribeElement2::text2.

Parameters

text
TextChunk[] — Required a list of TextChunk objects containing the on-screen text of this element.

removeText()

void removeText()
Remove the text from this element.

description()

void description(string description)
Set the description of this element. This is a string containing a human-readable localized description of the element. It should never contain the element’s on-screen text. For components such as images, this string should provide a meaningful short description of the element. For components which have on-screen text, description may be left blank, and the text should be provided in the text properties.

Parameters

description
string — Required the description of this element

removeDescription()

void removeDescription()
Remove the description from this element.

role()

void role(Role* role)
Sets the role of this element. The role provides further descriptive information, beyond what can be derived from the presence or absence of various accessibility interfaces alone. The value must be a constant defined in Role.

Parameters

role
Role* — Required the role of the element

removeRole()

void removeRole()
Remove the role from this element.

addAdjustable()

ISetAdjustable* addAdjustable()
Add the IAdjustable interface to this element.

Returns

ISetAdjustable* the ISetAdjustable interface

removeAdjustable()

void removeAdjustable()
Remove the IAdjustable interface from this element.

addCheckable()

ISetCheckable* addCheckable()
Add the ICheckable interface to this element.

Returns

ISetCheckable* the ISetCheckable interface

removeCheckable()

void removeCheckable()
Remove the ICheckable interface from this element.

addCollectionInfo()

ISetCollectionInfo* addCollectionInfo()
Add the ICollectionInfo interface to this element. This method is deprecated. Replaced by IDescribeElement2::addCollectionInfo2.

Returns

ISetCollectionInfo* the ISetCollectionInfo interface

removeCollectionInfo()

void removeCollectionInfo()
Remove the ICollectionInfo interface from this element.

addCollectionItemInfo()

ISetCollectionItemInfo* addCollectionItemInfo()
Add the ICollectionItemInfo interface to this element.

Returns

ISetCollectionItemInfo* the ISetCollectionItemInfo interface

removeCollectionItemInfo()

void removeCollectionItemInfo()
Remove the ICollectionItemInfo interface from this element.

removeCompoundComponent()

void removeCompoundComponent()
Remove the ICompoundComponent interface from this element.

addContainer()

ISetContainer* addContainer()
Add the IContainer interface to this element.

Returns

ISetContainer* the ISetContainer interface

removeContainer()

void removeContainer()
Remove the IContainer interface from this element.

addEditable()

ISetEditable* addEditable()
Adds the IEditable interface to this element.

Returns

ISetEditable* the ISetEditable interface

removeEditable()

void removeEditable()
Remove the IEditable interface from this component.

addEnableable()

ISetEnableable* addEnableable()
Add the IEnableable interface to this element.

Returns

ISetEnableable* the ISetEnableable interface

removeEnableable()

void removeEnableable()
Remove the IEnableable interface from this component.

addExpandable()

ISetExpandable* addExpandable()
Add the IExpandable interface to this element.

Returns

ISetExpandable* the ISetExpandable interface

removeExpandable()

void removeExpandable()
Remove the IExpandable interface from this element.

addFocusable()

ISetFocusable* addFocusable()
Add the IFocusable interface to this element.

Returns

ISetFocusable* the ISetFocusable interface

removeFocusable()

void removeFocusable()
Removes the IFocusable interface from this element.

addHeading()

ISetHeading* addHeading()
Add the IHeading interface to this element.

Returns

ISetHeading* the ISetHeading interface

removeHeading()

void removeHeading()
Remove the IHeading interface from this element.

addHidden()

ISetHidden* addHidden()
Add the IHidden interface to this element.

Returns

ISetHidden* the ISetHidden interface

removeHidden()

void removeHidden()
Remove the IHidden interface from this element.

addHints()

ISetHints* addHints()
Add the IHints interface to this element.

Returns

ISetHints* the ISetHints interface

removeHints()

void removeHints()
Remove the IHints interface from this element.

addLiveRegion()

ISetLiveRegion* addLiveRegion()
Add the ILiveRegion interface trait to this element. This method is deprecated. Replaced by IDescribeElement2::addLiveRegion2.

Returns

ISetLiveRegion* the ISetLiveRegion interface

removeLiveRegion()

void removeLiveRegion()
Remove the ILiveRegion interface from this element.

addPageable()

ISetPageable* addPageable()
Add the IPageable interface to this element.

Returns

ISetPageable* the ISetPageable interface

removePageable()

void removePageable()
Remove the IPageable interface from this element.

addPane()

ISetPane* addPane()
Add the IPane interface to this element. This method is deprecated. Replaced by IDescribeElement2::addPane2.

Returns

ISetPane* the ISetPane interface

removePane()

void removePane()
Remove the IPane interface from this element.

addRelationships()

ISetRelationships* addRelationships()
Add the IRelationships interface to this element.

Returns

ISetRelationships* the ISetRelationships interface

removeRelationships()

void removeRelationships()
Remove the IRelationships interface from this element.

addScrollable()

ISetScrollable* addScrollable()
Add the IScrollable interface to this element.

Returns

ISetScrollable* the ISetScrollable interface

removeScrollable()

void removeScrollable()
Remove the IScrollable interface from this element.

addSelectable()

ISetSelectable* addSelectable()
Add the ISelectable interface to this element.

Returns

ISetSelectable* the ISetSelectable interface

removeSelectable()

void removeSelectable()
Remove the ISelectable interface from this element.

addSwitchable()

ISetSwitchable* addSwitchable()
Add the ISwitchable interface to this element.

Returns

ISetSwitchable* the ISetSwitchable interface

removeSwitchable()

void removeSwitchable()
Remove the ISwitchable interface from this element.

addValue()

ISetValue* addValue()
Add the IValue interface to this element.

Returns

ISetValue* the ISetValue interface

removeValue()

void removeValue()
Remove the IValue interface from this element.

addVisibility()

ISetVisibility* addVisibility()
Add the IVisibility interface to this element.

Returns

ISetVisibility* the ISetVisibility interface

removeVisibility()

void removeVisibility()
Remove the IVisibility interface from this element.

addVoiceAssistant()

ISetVoiceAssistant* addVoiceAssistant()
Add the IVoiceAssistant interface to this element.

Returns

ISetVoiceAssistant* the ISetVoiceAssistant interface

removeVoiceAssistant()

void removeVoiceAssistant()
Remove the IVoiceAssistant interface from this element.

addWindow()

ISetWindow* addWindow()
Add the IWindow interface to this element. This method is deprecated. Replaced by IDescribeElement2::addWindow2.

Returns

ISetWindow* the ISetWindow interface

removeWindow()

void removeWindow()
Remove the IWindow interface from this element.

addActions()

void addActions(IAction*[] actions)
Add a list of actions to an element

Parameters

actions
IAction*[] — Required the list of the actions to add

removeAction()

void removeAction(string name)
Remove an action from an element

Parameters

name
string — Required the name of the action to remove

removeAllActions()

void removeAllActions()
Remove all actions from an element
Last modified on October 22, 2026