Skip to content

Most visited

Recently visited

navigation

NotificationCompat.CarExtender.UnreadConversation

public static class NotificationCompat.CarExtender.UnreadConversation
extends Object

java.lang.Object
   ↳ android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation


A class which holds the unread messages from a conversation.

Summary

Nested classes

class NotificationCompat.CarExtender.UnreadConversation.Builder

Builder class for NotificationCompat.CarExtender.UnreadConversation objects. 

Public methods

long getLatestTimestamp()

Gets the timestamp of the conversation.

String[] getMessages()

Gets the list of messages conveyed by this notification.

String getParticipant()

Gets the firs participant in the conversation.

String[] getParticipants()

Gets the participants in the conversation.

PendingIntent getReadPendingIntent()

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

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.

PendingIntent getReplyPendingIntent()

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

Inherited methods

From class java.lang.Object

Public methods

getLatestTimestamp

added in version 22.0.0
long getLatestTimestamp ()

Gets the timestamp of the conversation.

Returns
long

getMessages

added in version 22.0.0
String[] getMessages ()

Gets the list of messages conveyed by this notification.

Returns
String[]

getParticipant

added in version 22.0.0
String getParticipant ()

Gets the firs participant in the conversation.

Returns
String

getParticipants

added in version 22.0.0
String[] getParticipants ()

Gets the participants in the conversation.

Returns
String[]

getReadPendingIntent

added in version 22.0.0
PendingIntent getReadPendingIntent ()

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

Returns
PendingIntent

getRemoteInput

added in version 22.0.0
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.

Returns
RemoteInput

getReplyPendingIntent

added in version 22.0.0
PendingIntent getReplyPendingIntent ()

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

Returns
PendingIntent

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.