次の方法で共有


Notification.Builder.SetContentTitle Method

Definition

Overloads

SetContentTitle(ICharSequence)

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

SetContentTitle(String)

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

SetContentTitle(ICharSequence)

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

[Android.Runtime.Register("setContentTitle", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", "GetSetContentTitle_Ljava_lang_CharSequence_Handler")]
public virtual Android.App.Notification.Builder SetContentTitle (Java.Lang.ICharSequence? title);
[<Android.Runtime.Register("setContentTitle", "(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;", "GetSetContentTitle_Ljava_lang_CharSequence_Handler")>]
abstract member SetContentTitle : Java.Lang.ICharSequence -> Android.App.Notification.Builder
override this.SetContentTitle : Java.Lang.ICharSequence -> Android.App.Notification.Builder

Parameters

title
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

SetContentTitle(String)

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

public Android.App.Notification.Builder SetContentTitle (string? title);
member this.SetContentTitle : string -> Android.App.Notification.Builder

Parameters

title
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