Język

Notification.CarExtender.Builder.AddMessage(String) Method

Definition

Appends a new unread message to the list of messages for this conversation.

[Android.Runtime.Register("addMessage", "(Ljava/lang/String;)Landroid/app/Notification$CarExtender$Builder;", "GetAddMessage_Ljava_lang_String_Handler", ApiSince=23)]
public virtual Android.App.Notification.CarExtender.Builder AddMessage(string message);
[<Android.Runtime.Register("addMessage", "(Ljava/lang/String;)Landroid/app/Notification$CarExtender$Builder;", "GetAddMessage_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member AddMessage : string -> Android.App.Notification.CarExtender.Builder
override this.AddMessage : string -> Android.App.Notification.CarExtender.Builder

Parameters

message
String

String: the text of the new unread message

Returns

This Android.App.Notification.CarExtender.Builder instance, allowing calls to be chained.

Attributes

Remarks

Appends a new unread message to the list of messages for this conversation. The messages should be added from oldest to newest.

Android reference for android.app.Notification.CarExtender.Builder.addMessage.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to