In APL there's something called an "interaction timer" behind the scenes which tracks the time of inactivity in your rendered APL presentation. If the interaction timer exceeds the time that is set as idleTimeout in your APL document (or otherwise 30 seconds by default) the presentation gets dismissed. However, the interaction time is reset on any user touch interaction. Also, the interaction timer is disabled (meaning it does not advance) for as long as Video component is in playing state, or an APL command is running that has its screenLock property set to true. With all that being said, screenLock property can effectively being used to avoid your APL presentations to be dismissed when users are no longer engaging with it. Use this method with caution. It's not always in the best interest of an Alexa customer if a presentation continues to occupy their screen when it is no longer relevant for them.
Be the first to comment.