Notification.Builder.SetContentTitle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| 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
CharSequence
Returns
This Android.App.Notification.Builder instance, allowing calls to be chained.
- Attributes
Remarks
Set the first line of text in the platform notification template.
Android reference for android.app.Notification.Builder.setContentTitle.
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
CharSequence
Returns
This Android.App.Notification.Builder instance, allowing calls to be chained.
Remarks
Set the first line of text in the platform notification template.
Android reference for android.app.Notification.Builder.setContentTitle.
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.