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
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.
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.
getReplyPendingIntent
open fun getReplyPendingIntent(): PendingIntent!
Gets the pending intent that will be triggered when the user replies to this notification.