concept display in category alexa

appears as: display, display, displays, The display
Voice Applications for Alexa and Google Assistant

This is an excerpt from Manning's book Voice Applications for Alexa and Google Assistant.

To be clear, voice first is not voice only. With the Echo Show, the addition of Alexa to televisions, and Google’s connection of Google Home with the Chromecast, voice first is increasingly becoming multimodal—using multiple forms of interaction such as voice and display. This addition opens up opportunities for developers who want to bring new functionality to users while still retaining voice as the main interaction model.

The primary multimodal systems that people think of are devices with displays, like the Google Home Hub. These are voice-first devices because voice is the primary input and output mode, but the display is available when it’s helpful. Alternatively, you might consider the Google Home to be a singly modal experience because there’s only voice input and output. Think for a moment, though, and ask yourself if that’s really true. Does the Google Home device only have a single mode?

Listing 10.7 Checking whether the current device has a display (index.js)
app.intent("get_events", (conv) => {
  ...
  if(conv.surface.capabilities.has("actions.capability.SCREEN_OUTPUT")) {    #1  
    ...    #2  
    conv.close("We have upcoming events for JavaScript and voice-first dev. " +    #3  
               "You can choose one from the list on the screen to hear           ➥more.");  #3  
  } else {
    conv.close("We have upcoming events for JavaScript and voice-first   ➥dev.");    #4  
  }
});

#1   Checks if the current device has a screen
#2   The suggestion chips and list
#3   A response that references the screen
#4   No screen reference