Dela via


Notification.MessagingStyle.Message Constructors

Definition

Overloads

Notification.MessagingStyle.Message(ICharSequence, Int64, Person)
Notification.MessagingStyle.Message(ICharSequence, Int64, ICharSequence)
Notification.MessagingStyle.Message(String, Int64, Person)
Notification.MessagingStyle.Message(String, Int64, String)

Notification.MessagingStyle.Message(ICharSequence, Int64, Person)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLandroid/app/Person;)V", "", ApiSince=28)]
public Message (Java.Lang.ICharSequence text, long timestamp, Android.App.Person? sender);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLandroid/app/Person;)V", "", ApiSince=28)>]
new Android.App.Notification.MessagingStyle.Message : Java.Lang.ICharSequence * int64 * Android.App.Person -> Android.App.Notification.MessagingStyle.Message

Parameters

timestamp
Int64
sender
Person
Attributes

Applies to

Notification.MessagingStyle.Message(ICharSequence, Int64, ICharSequence)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLjava/lang/CharSequence;)V", "", ApiSince=24)]
public Message (Java.Lang.ICharSequence text, long timestamp, Java.Lang.ICharSequence sender);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLjava/lang/CharSequence;)V", "", ApiSince=24)>]
new Android.App.Notification.MessagingStyle.Message : Java.Lang.ICharSequence * int64 * Java.Lang.ICharSequence -> Android.App.Notification.MessagingStyle.Message

Parameters

timestamp
Int64
sender
ICharSequence
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

Notification.MessagingStyle.Message(String, Int64, Person)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLandroid/app/Person;)V", "", ApiSince=28)]
public Message (string text, long timestamp, Android.App.Person? sender);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLandroid/app/Person;)V", "", ApiSince=28)>]
new Android.App.Notification.MessagingStyle.Message : string * int64 * Android.App.Person -> Android.App.Notification.MessagingStyle.Message

Parameters

text
String
timestamp
Int64
sender
Person
Attributes

Applies to

Notification.MessagingStyle.Message(String, Int64, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLjava/lang/CharSequence;)V", "", ApiSince=24)]
public Message (string text, long timestamp, string sender);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;JLjava/lang/CharSequence;)V", "", ApiSince=24)>]
new Android.App.Notification.MessagingStyle.Message : string * int64 * string -> Android.App.Notification.MessagingStyle.Message

Parameters

text
String
timestamp
Int64
sender
String
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