Stay organized with collections
Save and categorize content based on your preferences.
UnreadConversation
class UnreadConversation
A class which holds the unread messages from a conversation.
Summary
Public methods |
open Long |
Gets the timestamp of the conversation.
|
open Array<String!>! |
Gets the list of messages conveyed by this notification.
|
open String! |
Gets the firs participant in the conversation.
|
open Array<String!>! |
Gets the participants in the conversation.
|
open PendingIntent! |
Gets the pending intent that Android Auto will send after it reads aloud all messages in this object's message list.
|
open RemoteInput! |
Gets the remote input that will be used to convey the response to a message list, or null if no such remote input exists.
|
open PendingIntent! |
Gets the pending intent that will be triggered when the user replies to this notification.
|
Public methods
getLatestTimestamp
open fun getLatestTimestamp(): Long
Gets the timestamp of the conversation.
getMessages
open fun getMessages(): Array<String!>!
Gets the list of messages conveyed by this notification.
getParticipant
open fun getParticipant(): String!
Gets the firs participant in the conversation.
getParticipants
open fun getParticipants(): Array<String!>!
Gets the participants in the conversation.
getReadPendingIntent
open fun getReadPendingIntent(): PendingIntent!
Gets the pending intent that Android Auto will send after it reads aloud all messages in this object's message list.
open fun getRemoteInput(): RemoteInput!
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
open fun getReplyPendingIntent(): PendingIntent!
Gets the pending intent that will be triggered when the user replies to this notification.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# Notification.CarExtender.UnreadConversation\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnreadConversation\n==================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/app/Notification.CarExtender.UnreadConversation \"View this page in Java\") \n\n```\nclass UnreadConversation\n```\n\n|---|--------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.app.Notification.CarExtender.UnreadConversation](#) |\n\nA class which holds the unread messages from a conversation.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [getLatestTimestamp](#getLatestTimestamp())`()` Gets the timestamp of the conversation. |\n| open [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\\\u003e! | [getMessages](#getMessages())`()` Gets the list of messages conveyed by this notification. |\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [getParticipant](#getParticipant())`()` Gets the firs participant in the conversation. |\n| open [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\\\u003c[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!\\\u003e! | [getParticipants](#getParticipants())`()` Gets the participants in the conversation. |\n| open [PendingIntent](/reference/kotlin/android/app/PendingIntent)! | [getReadPendingIntent](#getReadPendingIntent())`()` Gets the pending intent that Android Auto will send after it reads aloud all messages in this object's message list. |\n| open [RemoteInput](/reference/kotlin/android/app/RemoteInput)! | [getRemoteInput](#getRemoteInput())`()` Gets the remote input that will be used to convey the response to a message list, or `null` if no such remote input exists. |\n| open [PendingIntent](/reference/kotlin/android/app/PendingIntent)! | [getReplyPendingIntent](#getReplyPendingIntent())`()` Gets the pending intent that will be triggered when the user replies to this notification. |\n\nPublic methods\n--------------\n\n### getLatestTimestamp\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getLatestTimestamp(): Long\n```\n\nGets the timestamp of the conversation. \n\n### getMessages\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getMessages(): Array\u003cString!\u003e!\n```\n\nGets the list of messages conveyed by this notification. \n\n### getParticipant\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getParticipant(): String!\n```\n\nGets the firs participant in the conversation. \n\n### getParticipants\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getParticipants(): Array\u003cString!\u003e!\n```\n\nGets the participants in the conversation. \n\n### getReadPendingIntent\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getReadPendingIntent(): PendingIntent!\n```\n\nGets the pending intent that Android Auto will send after it reads aloud all messages in this object's message list. \n\n### getRemoteInput\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getRemoteInput(): RemoteInput!\n```\n\nGets the remote input that will be used to convey the response to a message list, or `null` if no such remote input exists. \n\n### getReplyPendingIntent\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getReplyPendingIntent(): PendingIntent!\n```\n\nGets the pending intent that will be triggered when the user replies to this notification."]]