belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
NotificationCompat.CarExtender.UnreadConversation.Builder
public
static
class
NotificationCompat.CarExtender.UnreadConversation.Builder
extends Object
java.lang.Object | |
↳ | android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.Builder |
Builder class for NotificationCompat.CarExtender.UnreadConversation
objects.
Summary
Public constructors | |
---|---|
NotificationCompat.CarExtender.UnreadConversation.Builder(String name)
Constructs a new builder for |
Public methods | |
---|---|
NotificationCompat.CarExtender.UnreadConversation.Builder
|
addMessage(String message)
Appends a new unread message to the list of messages for this conversation. |
NotificationCompat.CarExtender.UnreadConversation
|
build()
Builds a new unread conversation object. |
NotificationCompat.CarExtender.UnreadConversation.Builder
|
setLatestTimestamp(long timestamp)
Sets the timestamp of the most recent message in an unread conversation. |
NotificationCompat.CarExtender.UnreadConversation.Builder
|
setReadPendingIntent(PendingIntent pendingIntent)
Sets the pending intent that will be sent once the messages in this notification are read. |
NotificationCompat.CarExtender.UnreadConversation.Builder
|
setReplyAction(PendingIntent pendingIntent, RemoteInput remoteInput)
Sets the pending intent and remote input which will convey the reply to this notification. |
Inherited methods | |
---|---|
![]()
java.lang.Object
|
Public constructors
NotificationCompat.CarExtender.UnreadConversation.Builder
NotificationCompat.CarExtender.UnreadConversation.Builder (String name)
Constructs a new builder for NotificationCompat.CarExtender.UnreadConversation
.
Parameters | |
---|---|
name |
String : The name of the other participant in the conversation.
|