Added in API level 23

UnreadConversation

class UnreadConversation
kotlin.Any
   ↳ android.app.Notification.CarExtender.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

Added in API level 23
open fun getLatestTimestamp(): Long

Gets the timestamp of the conversation.

getMessages

Added in API level 23
open fun getMessages(): Array<String!>!

Gets the list of messages conveyed by this notification.

getParticipant

Added in API level 23
open fun getParticipant(): String!

Gets the firs participant in the conversation.

getParticipants

Added in API level 23
open fun getParticipants(): Array<String!>!

Gets the participants in the conversation.

getReadPendingIntent

Added in API level 23
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.

getRemoteInput

Added in API level 23
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

Added in API level 23
open fun getReplyPendingIntent(): PendingIntent!

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