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 IPropsDelegate

interface IPropsDelegate
Extends com.amazon.apmf.IStandard Delegate for registering props and handling prop value changes.

Methods

registerProps()

IPropsRegistry* registerProps(IPropsRegistryBuilder* propsRegistryBuilder)
Build out any number of custom properties of various types for the view with the propsRegistryBuilder.

Parameters

propsRegistryBuilder
IPropsRegistryBuilder* — Required Builder for props registry

Returns

IPropsRegistry* The final object with all the props, to be registered, for a keplerscript view manager.

updateProps()

void updateProps(com.amazon.kepler.uitoolkit.view.IView* view, IJsObject* newPropsUpdates)
Lifecycle method called when props should change, for a view instance.

Parameters

view
com.amazon.kepler.uitoolkit.view.IView* — Required Root node of the component view. Perform operations such as add/remove children on it, according to the prop updates.
newPropsUpdates
IJsObject* — Required IJsObject containing the names and new values of all the changed props, as key-value pairs.
Last modified on October 29, 2026