Notification.MessagingStyle.AddMessage Method

Definition

Overloads

AddMessage(Notification+MessagingStyle+Message)
AddMessage(ICharSequence, Int64, Person)
AddMessage(ICharSequence, Int64, ICharSequence)
AddMessage(String, Int64, Person)
AddMessage(String, Int64, String)

AddMessage(Notification+MessagingStyle+Message)

[Android.Runtime.Register("addMessage", "(Landroid/app/Notification$MessagingStyle$Message;)Landroid/app/Notification$MessagingStyle;", "GetAddMessage_Landroid_app_Notification_MessagingStyle_Message_Handler", ApiSince=24)]
public virtual Android.App.Notification.MessagingStyle? AddMessage (Android.App.Notification.MessagingStyle.Message? message);
[<Android.Runtime.Register("addMessage", "(Landroid/app/Notification$MessagingStyle$Message;)Landroid/app/Notification$MessagingStyle;", "GetAddMessage_Landroid_app_Notification_MessagingStyle_Message_Handler", ApiSince=24)>]
abstract member AddMessage : Android.App.Notification.MessagingStyle.Message -> Android.App.Notification.MessagingStyle
override this.AddMessage : Android.App.Notification.MessagingStyle.Message -> Android.App.Notification.MessagingStyle

Parameters

Returns

Attributes

Remarks

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

AddMessage(ICharSequence, Int64, Person)

[Android.Runtime.Register("addMessage", "(Ljava/lang/CharSequence;JLandroid/app/Person;)Landroid/app/Notification$MessagingStyle;", "GetAddMessage_Ljava_lang_CharSequence_JLandroid_app_Person_Handler", ApiSince=28)]
public virtual Android.App.Notification.MessagingStyle? AddMessage (Java.Lang.ICharSequence text, long timestamp, Android.App.Person? sender);
[<Android.Runtime.Register("addMessage", "(Ljava/lang/CharSequence;JLandroid/app/Person;)Landroid/app/Notification$MessagingStyle;", "GetAddMessage_Ljava_lang_CharSequence_JLandroid_app_Person_Handler", ApiSince=28)>]
abstract member AddMessage : Java.Lang.ICharSequence * int64 * Android.App.Person -> Android.App.Notification.MessagingStyle
override this.AddMessage : Java.Lang.ICharSequence * int64 * Android.App.Person -> Android.App.Notification.MessagingStyle

Parameters

timestamp
Int64
sender
Person

Returns

Attributes

Applies to

AddMessage(ICharSequence, Int64, ICharSequence)

[Android.Runtime.Register("addMessage", "(Ljava/lang/CharSequence;JLjava/lang/CharSequence;)Landroid/app/Notification$MessagingStyle;", "GetAddMessage_Ljava_lang_CharSequence_JLjava_lang_CharSequence_Handler", ApiSince=24)]
public virtual Android.App.Notification.MessagingStyle? AddMessage (Java.Lang.ICharSequence? text, long timestamp, Java.Lang.ICharSequence? sender);
[<Android.Runtime.Register("addMessage", "(Ljava/lang/CharSequence;JLjava/lang/CharSequence;)Landroid/app/Notification$MessagingStyle;", "GetAddMessage_Ljava_lang_CharSequence_JLjava_lang_CharSequence_Handler", ApiSince=24)>]
abstract member AddMessage : Java.Lang.ICharSequence * int64 * Java.Lang.ICharSequence -> Android.App.Notification.MessagingStyle
override this.AddMessage : Java.Lang.ICharSequence * int64 * Java.Lang.ICharSequence -> Android.App.Notification.MessagingStyle

Parameters

timestamp
Int64
sender
ICharSequence

Returns

Attributes

Remarks

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

AddMessage(String, Int64, Person)

public Android.App.Notification.MessagingStyle? AddMessage (string text, long timestamp, Android.App.Person? sender);
member this.AddMessage : string * int64 * Android.App.Person -> Android.App.Notification.MessagingStyle

Parameters

text
String
timestamp
Int64
sender
Person

Returns

Applies to

AddMessage(String, Int64, String)

public Android.App.Notification.MessagingStyle? AddMessage (string? text, long timestamp, string? sender);
member this.AddMessage : string * int64 * string -> Android.App.Notification.MessagingStyle

Parameters

text
String
timestamp
Int64
sender
String

Returns

Remarks

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