# Notifications

<br />

Notifications provide succinct and timely information about relevant events,
such as phone calls or messages, along with actions the user can take in
response.

*** ** * ** ***

## Anatomy

In Android Auto, notifications have been designed for glanceability by
reducing the content to the most essential elements. Whether a notification
appears as a heads-up notification (HUN) or as a card in the
Notification Center, each notification contains:

- An app icon identifying the app that sent the notification
- Primary and secondary text relating to the notification
- Up to 3 action buttons
- Avatar imagery (if applicable)

### Heads-up notification (HUN)

![Heads-up notification card](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-hun-anatomy.png) This HUN contain the following components:  
1. App icon  
2. Avatar  
3. Secondary action  
4. Dismiss

### Notification Center card

![Notification Center card](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-center-card1.png) This card is found in the Notification Center and contains the following components:  
1. App icon  
2. Avatar  
3. Primary action  
4. Secondary action

> [!NOTE]
> **Note:** The specific actions available in a notification are determined by Android Auto based on the app category. These actions are not customizable by OEMs or app developers.

*** ** * ** ***

## Where notifications appear

Users have two opportunities to interact with most notifications:

- When they first appear, as heads-up notifications (HUNs)
- Later, in the Notification Center

A notification arriving as a HUN can appear at any time, temporarily covering
part of the current screen. Users can respond to the notification using its
action buttons, or they can dismiss it by tapping the close button. Otherwise,
the notification times out after a short interval and appears as a card in the
[Notification Center](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/notifications#notification_center),
except in the special cases noted.
![Side-by-side art of a message notification arriving as a HUN and then appearing in the Notification Center](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-where-not-appear.png) Users who miss a chance to respond to a HUN (left) can interact with it later in the Notification Center (right)

> [!NOTE]
> **Note:** Navigation notifications appear only as HUNs. They are not sent to the Notification Center because they are relevant only at the moment of their arrival and might not be of interest later. Other categories of notifications remain accessible in the Notification Center unless withdrawn or expired by the sending application.

*** ** * ** ***

## Categories of notifications

Notifications displayed in Android Auto are restricted to those considered
important enough to appear in a driving situation and potentially
interrupt the driver.

These include the following categories of notifications:

- Navigation instructions (HUN only; not saved to Notification Center)
- Phone calls (HUN only; not saved to Notification Center)
- Messages
- Reminders (Notification Center only)

Examples of notifications in these categories are shown in the next sections.

### Navigation notifications

Navigation notifications appear only as HUNs, since they contain time-sensitive
navigation instructions that might not be relevant later. App developers can
customize the background color of navigation notifications to make them more
noticeable, as shown in the examples.
![Navigation notification informing the user of a right turn coming up in 200 feet](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-hun-nav.png) Navigation HUN

### Call notifications

Call notifications appear only as HUNs. Buttons on the HUN allow the user to
answer or decline the call.
![Call HUN](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-phone.png) Call HUN

### Message notifications

Message notifications arrive as HUNs and then are sent to the
Notification Center. Users who want to stop messages in a particular
conversation from appearing as HUNs can mute the conversation, so the
messages appear only in the Notification Center.

Users can play messages and reply to them using voice, with the help of the
Assistant.
![Message HUN](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-hun-message.png) Message HUN

### Reminder notifications

Users can view reminder notifications in the Notification Center.
![Reminder notification card](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-generic.png) Reminder notification card

*** ** * ** ***

## Notification Center

After appearing briefly as heads-up notifications (HUNs), most notifications
are stored in the Notification Center. (The exceptions are Navigation and Media
notifications, plus any notifications withdrawn or expired by the sending
application). Users can access the Notification Center from the bell-shaped
**Notifications** button on the
[nav bar](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/nav-bar).

The Notification Center displays notification cards in a vertically scrolling
list. Cards are ordered by recency, with the most recently received or
created notifications at the top.
![The Notification Center provides access to stored notifications](https://developers.google.com/cars/design/android-auto/product-experience/system-ui/images/ntfcn-center.jpg) The Notification Center provides access to stored notifications

To keep the list length in the Notification Center manageable and limit driver
distraction, older notifications may be pushed from the Notification Center
to make room for newer ones. All notifications from the Notification Center,
even those that are removed, remain available on the phone.