AplEventHandler
@IviExperimental(message = "This API is experimental and relies on the Alexa Auto APL feature, which is not fully mature yet. It may change in the future without providing backward compatibility.", reasons = [])
This class provides the functionality to handle AACS Alexa Presentation Language (APL) events.
Note: The application is required to initialize the APL runtime by passing the Android context to initialize prior to the inflation of APLLayout components.
Parameters
layout
The layout of the screen on which the APL document is rendered. See Amazon Documentation for details.
context
The Context that the layout is associated with.
Properties
Functions
Link copied to clipboard
Processes instructions provided by the APL Directive in the message.
Link copied to clipboard
It clears the map of APL layouts. To avoid memory leaks, this function should be called when the fragment rendering the APL documents is destroyed.
Link copied to clipboard
Sets the Disallow Video APL Runtime Property.
Link copied to clipboard
Sets the Driving State APL Runtime Property.