NotificationCompat.CarExtender.UnreadConversation

Added in 1.1.0
Deprecated in 1.3.0

public class NotificationCompat.CarExtender.UnreadConversation


A class which holds the unread messages from a conversation.

Summary

Public methods

long

Gets the timestamp of the conversation.

@Nullable String[]

Gets the list of messages conveyed by this notification.

@Nullable String

Gets the firs participant in the conversation.

@Nullable String[]

Gets the participants in the conversation.

@Nullable PendingIntent

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

@Nullable 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.

@Nullable PendingIntent

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

Public methods

getLatestTimestamp

Added in 1.1.0
Deprecated in 1.3.0
public long getLatestTimestamp()

Gets the timestamp of the conversation.

getMessages

Added in 1.1.0
Deprecated in 1.3.0
public @Nullable String[] getMessages()

Gets the list of messages conveyed by this notification.

getParticipant

Added in 1.1.0
Deprecated in 1.3.0
public @Nullable String getParticipant()

Gets the firs participant in the conversation.

getParticipants

Added in 1.1.0
Deprecated in 1.3.0
public @Nullable String[] getParticipants()

Gets the participants in the conversation.

getReadPendingIntent

Added in 1.1.0
Deprecated in 1.3.0
public @Nullable PendingIntent getReadPendingIntent()

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
public @Nullable RemoteInput getRemoteInput()

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
public @Nullable PendingIntent getReplyPendingIntent()

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