Idle Command
 Note: Learn how to improve your skills with APL with Build visually rich experiences using APL at the Alexa Learning Lab.
Do nothing. Use the Idle command as a placeholder or to insert a calculated delay in a longer series of commands.
Properties
The Idle command has no properties other than the common command properties. Set the type property to Idle.
The following example shows a command sequence that speaks "item7." The use of the Idle command guarantees that the overall command lasts at least 3000 milliseconds even if the speech ends earlier.
  {
    "type": "Parallel",
    "commands": [
      {
        "type": "Idle",
        "delay": 3000
      },
      {
        "type": "SpeakItem",
        "componentId": "item7"
      }
    ]
  }
The idle command is ignored in fast mode
Related topics
 
        
        Was this page helpful?
        
        
   
    
        
            
            
        
        
            
            
        
    
    
                  
                  
                  
                  
                  
                     Last updated: frontmatter-missing