java.lang.Object | |
↳ | android.support.v4.app.NotificationCompat.CarExtender.UnreadConversation.Builder |
Builder class for NotificationCompat.CarExtender.UnreadConversation
objects.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new builder for
NotificationCompat.CarExtender.UnreadConversation .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appends a new unread message to the list of messages for this conversation.
| |||||||||||
Builds a new unread conversation object.
| |||||||||||
Sets the timestamp of the most recent message in an unread conversation.
| |||||||||||
Sets the pending intent that will be sent once the messages in this notification
are read.
| |||||||||||
Sets the pending intent and remote input which will convey the reply to this
notification.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructs a new builder for NotificationCompat.CarExtender.UnreadConversation
.
name | The name of the other participant in the conversation. |
---|
Appends a new unread message to the list of messages for this conversation. The messages should be added from oldest to newest.
message | The text of the new unread message. |
---|
Builds a new unread conversation object.
Sets the timestamp of the most recent message in an unread conversation. If a messaging notification has been posted by your application and has not yet been cancelled, posting a later notification with the same id and tag but without a newer timestamp may result in Android Auto not displaying a heads up notification for the later notification.
timestamp | The timestamp of the most recent message in the conversation. |
---|
Sets the pending intent that will be sent once the messages in this notification are read.
pendingIntent | The pending intent to use. |
---|
Sets the pending intent and remote input which will convey the reply to this notification.
pendingIntent | The pending intent which will be triggered on a reply. |
---|---|
remoteInput | The remote input parcelable which will carry the reply. |