NotificationCompat.CarExtender.UnreadConversation

Added in 1.1.0
Deprecated in 1.3.0

class NotificationCompat.CarExtender.UnreadConversation


A class which holds the unread messages from a conversation.

Summary

Public functions

Long

Gets the timestamp of the conversation.

Array<String!>?

Gets the list of messages conveyed by this notification.

String?

Gets the firs participant in the conversation.

Array<String!>?

Gets the participants in the conversation.

PendingIntent?

Gets the pending intent that Android Auto will send after it reads aloud all messages in this object's message list.

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.

PendingIntent?

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

Public functions

getLatestTimestamp

Added in 1.1.0
Deprecated in 1.3.0
fun getLatestTimestamp(): Long

Gets the timestamp of the conversation.

getMessages

Added in 1.1.0
Deprecated in 1.3.0
fun getMessages(): Array<String!>?

Gets the list of messages conveyed by this notification.

getParticipant

Added in 1.1.0
Deprecated in 1.3.0
fun getParticipant(): String?

Gets the firs participant in the conversation.

getParticipants

Added in 1.1.0
Deprecated in 1.3.0
fun getParticipants(): Array<String!>?

Gets the participants in the conversation.

getReadPendingIntent

Added in 1.1.0
Deprecated in 1.3.0
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 1.1.0
Deprecated in 1.3.0
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 1.1.0
Deprecated in 1.3.0
fun getReplyPendingIntent(): PendingIntent?

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