# NotificationCompat.CarExtender.UnreadConversation

Artifact: [androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/app/NotificationCompat.java+class:androidx.core.app.NotificationCompat.CarExtender.UnreadConversation) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

*** ** * ** ***


```
class NotificationCompat.CarExtender.UnreadConversation
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
>
> `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation` is no longer supported. Use `https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.MessagingStyle` instead.

A class which holds the unread messages from a conversation.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation.Builder` **This class is deprecated.** Deprecated in Java |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `[getLatestTimestamp](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getLatestTimestamp())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>?` | `[getMessages](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getMessages())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `[getParticipant](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getParticipant())()` **This function is deprecated.** Deprecated in Java |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!>?` | `[getParticipants](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getParticipants())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/android/app/PendingIntent.html?` | `[getReadPendingIntent](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getReadPendingIntent())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/kotlin/androidx/core/app/RemoteInput?` | `[getRemoteInput](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getRemoteInput())()` **This function is deprecated.** Deprecated in Java |
| `https://developer.android.com/reference/android/app/PendingIntent.html?` | `[getReplyPendingIntent](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getReplyPendingIntent())()` **This function is deprecated.** Deprecated in Java |

## Public functions

### getLatestTimestamp

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getLatestTimestamp](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getLatestTimestamp())(): Long
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the timestamp of the conversation.

### getMessages

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getMessages](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getMessages())(): Array<String!>?
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the list of messages conveyed by this notification.

### getParticipant

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getParticipant](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getParticipant())(): String?
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the firs participant in the conversation.

### getParticipants

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getParticipants](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getParticipants())(): Array<String!>?
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the participants in the conversation.

### getReadPendingIntent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getReadPendingIntent](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getReadPendingIntent())(): PendingIntent?
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the pending intent that Android Auto will send after it reads aloud all messages in this object's message list.

### getRemoteInput

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getRemoteInput](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getRemoteInput())(): RemoteInput?
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the remote input that will be used to convey the response to a message list, or null if no such remote input exists.

### getReplyPendingIntent

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/core#1.1.0) Deprecated in [1.3.0](https://developer.android.com/jetpack/androidx/releases/core#1.3.0)

```
fun [getReplyPendingIntent](https://developer.android.com/reference/kotlin/androidx/core/app/NotificationCompat.CarExtender.UnreadConversation#getReplyPendingIntent())(): PendingIntent?
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Gets the pending intent that will be triggered when the user replies to this notification.