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 ISwitchableTraitBuilder

interface ISwitchableTraitBuilder
Extends com.amazon.kepler.ucc.v1_0.common.ISetSwitchable ISwitchableTraitBuilder interface builds a ITrait interface. This ISwitchableTrait provides methods for providing the current state of the view (on or off) and providing text labels which describe the on and off states. Examples of these text labels might be the typical “on” and “off”;; but might also be something like “enabled” and “disabled”.

Methods

build()

ITrait* build()
Build the ITrait object using the setters.

Returns

ITrait* The ITrait object which will be passed to the IAccessibilityContext.
Last modified on October 29, 2026