Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

UnreadConversation

class UnreadConversation
kotlin.Any
   ↳ androidx.core.app.NotificationCompat.CarExtender.UnreadConversation

A class which holds the unread messages from a conversation.

Summary

Nested classes
open

Builder class for CarExtender.UnreadConversation objects.

Public methods
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 Long

Gets the timestamp of the conversation.

open Array<String!>!

Gets the list of messages conveyed by this notification.

open PendingIntent!

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

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.

Public methods

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.

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.

getReplyPendingIntent

open fun getReplyPendingIntent(): PendingIntent!

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

getRemoteInput

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.