APL Standard Commands
The following table lists the standard Alexa Presentation Language (APL) commands. The "Reinflation support" column indicates whether the command takes time to run and therefore has a reinflation strategy. The "Widget support" column indicates whether you can use the command in a widget.
Command | Description | Reinflation strategy | Widget support |
---|---|---|---|
Runs a fixed-duration animation sequence on one or more properties or bound values of a single component. |
Yes | ||
Progress through a series of pages displayed in a |
Yes | ||
Removes focus from the actionable component that is currently in focus. |
No |
Yes | |
Controls a media player to play, pause, change tracks, or perform some other common action. |
No |
Not supported | |
Closes the current APL document and exits. |
No |
Yes | |
Do nothing. Use the |
No |
Yes | |
Imports an APL package and its dependencies into the current document and then runs commands after the package has been imported. |
No |
Yes | |
Adds an item to an inflated document and adjusts the layout to reflect the change in structure. |
No |
Not supported | |
Sends a log message to use in a debugging context, such as the authoring tool Live Preview Mode or other debugging tools. |
No |
Yes | |
Open a specified URL in a web browser or other application on the device. |
No |
Yes | |
Run a series of commands in parallel. |
No |
Yes | |
Plays media on a video player. |
Not supported | ||
Reinflates the current document with updated configuration properties. Alexa rebuilds the entire document, following the same process as when initially displaying the document on the screen. |
No |
Not supported | |
Removes an item from an inflated document and adjusts the layout to reflect the change in structure. |
No |
Not supported | |
Scrolls a |
Yes | ||
Scroll forward or backward through a |
Yes | ||
Scroll forward or backward through a |
Yes | ||
Select a single command from an array of commands and data. |
No |
Yes | |
Send an |
No |
Yes | |
Run a series of commands in order, waiting for the previous command to finish before starting the next. |
Yes | ||
Change the actionable component that is in focus. See |
No |
Yes | |
Change the page displayed in a |
Yes | ||
Change a dynamic property or bound value ( |
No |
Yes | |
Read the |
Not supported | ||
Read the |
Not supported |
Related topics
Last updated: Dec 18, 2024