Plan communications

There are multiple ways for your app to communicate with drivers. Learn which method is best for each use case so you can choose the right one every time.

Your app can communicate with users through:

  • Toasts
  • Notifications
  • Navigation alerts
  • Message-oriented templates
  • Voice input

For voice input, follow best practices to protect user privacy and brand the experience.

Communication methods

Choose the most appropriate communication method for each use case. See the following examples for inspiration:

Communication method Format Example use case
Message template Brief message with icon or image + up to 4 actions Error message
Long Message template Long, scrollable message to be read while parked Legal text for permissions
Toast Dialog showing very brief text Telling the user to continue a flow on the phone when parked
Voice input Input provided through microphone and recorded by the app User makes a request of the app while driving
Navigation alerts Brief message with optional actions on the Navigation template (doesn't block navigation info) Suggesting a change in route
Heads-up notifications (HUNs) Temporary notification card with brief text + up to 2 actions, able to deep-link to relevant parts of the app Highly important update worth disrupting other tasks (use outside of the Navigation template)

More about notifications:

Voice input details

The voice input feature lets apps access the car's microphone to gather audio input for in-app voice assistants.purposes such as creating their own in-app assistant.

How it works

  1. The user requests voice input (via the microphone icon in the action strip, in this case).
  2. An overlay appears, signaling that recording is in process.
  3. Users can stop the recording by dismissing the overlay, or they can stop talking, at which point the app should stop recording.

For a sample flow showing this process, see Communicate with the app by voice.

Navigation template with voice input icon
A voice input icon informs the user that they can provide voice input.

Best practices

Keep these best practices in mind as you plan communication methods for your app:

  • Get permission first. Make sure the user has granted permission for your app to access the car's microphone (ideally before the drive starts).
  • Provide an entry point. Give the user a way to start voice input, such as a microphone icon in the action strip. Then, wait for them to initiate the process.
  • Brand the experience. Make it clear that your in-app assistant is specific to your app.
  • Stop recording when the user stops talking.