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 ICommandDispatchDelegate

interface ICommandDispatchDelegate
Extends com.amazon.apmf.IStandard Delegate to dispatch commands on a component view instance.

Methods

dispatchCommand()

void dispatchCommand(com.amazon.kepler.uitoolkit.view.IView* view, string command, IJsArray* args)
Lifecycle method called, when a command should be dispatched, on a view instance.

Parameters

view
com.amazon.kepler.uitoolkit.view.IView* — Required Root node of the component view.
command
string — Required Name of the custom command.
args
IJsArray* — Required An array of optional arguments for the command. The array can be empty, indicating no arguments.
Last modified on October 29, 2026