Notification.Builder.SetSubText Method

Definition

Overloads

SetSubText(ICharSequence)

Set the third line of text in the platform notification template.

SetSubText(String)

Set the third line of text in the platform notification template.

SetSubText(ICharSequence)

Set the third line of text in the platform notification template.

C#
[Android.Runtime.Register("setSubText", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", "GetSetSubText_Ljava_lang_CharSequence_Handler")]
public virtual Android.App.Notification.Builder SetSubText (Java.Lang.ICharSequence? text);

Parameters

text
ICharSequence

The line of text to use.

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

SetSubText(String)

Set the third line of text in the platform notification template.

C#
public Android.App.Notification.Builder SetSubText (string? text);

Parameters

text
String

The line of text to use.

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

.NET for Android .NET for Android API 35 and .NET for Android .NET for Android API 34
Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35