简体   繁体   中英

Use the google navigation card in my dialogflow agent

Is there a way i can use Google's Navigation Card, the one shown when you ask something like "Navigate to home", in my agent ? I can't find any tutorials related to this. I was trying to open Maps application, but this (Google's Navigation Card) is more suitable to my requirement, as if the user doesn't want to go to the link.

Actions on Google (the Google Assistnat 3rd party platform) doesn't support navigation cards for 3rd party apps yet. You can emulate a navigation card by:

  1. Creating a basic card
  2. Make the image of the basic card a screenshot of the directions
  3. Make the button of the basic card a deep link to Google maps for the desired directions

No, the Actions on Google platform is separate from whatever capabilities are on the underlying OS platform.

You may wish to look into using the Static Maps API to provide the image and path as an overview on a card, and then include a link out to the app if the user wants to do navigation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM