UnreadConversation
classUnreadConversation
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 |
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
getMessages
@Nullable open fun getMessages(): Array<String!>?
Gets the list of messages conveyed by this notification.
getParticipant
@Nullable open fun getParticipant(): String?
Gets the firs participant in the conversation.
getParticipants
@Nullable open fun getParticipants(): Array<String!>?
Gets the participants in the conversation.
getReadPendingIntent
@Nullable 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
@Nullable 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
@Nullable open fun getReplyPendingIntent(): PendingIntent?
Gets the pending intent that will be triggered when the user replies to this notification.