Język

WallpaperDescription.Builder.SetTitle Method

Definition

Overloads

Name Description
SetTitle(ICharSequence)

Set the title for this wallpaper.

SetTitle(String)

Sets the wallpaper title from a string.

SetTitle(ICharSequence)

Set the title for this wallpaper.

[Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/app/wallpaper/WallpaperDescription$Builder;", "", ApiSince=36)]
public Android.App.Wallpaper.WallpaperDescription.Builder SetTitle(Java.Lang.ICharSequence? title);
[<Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/app/wallpaper/WallpaperDescription$Builder;", "", ApiSince=36)>]
member this.SetTitle : Java.Lang.ICharSequence -> Android.App.Wallpaper.WallpaperDescription.Builder

Parameters

title
ICharSequence

the title, or null for none

Returns

This builder, so that more values can be set in the same call chain.

Attributes

Remarks

Set the title for this wallpaper.

Android reference for android.app.wallpaper.WallpaperDescription.Builder.setTitle.

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

SetTitle(String)

Sets the wallpaper title from a string.

public Android.App.Wallpaper.WallpaperDescription.Builder SetTitle(string? title);
member this.SetTitle : string -> Android.App.Wallpaper.WallpaperDescription.Builder

Parameters

title
String

The wallpaper title, or null for no title.

Returns

This builder, so that more values can be set in the same call chain.

Remarks

This is the string overload of SetTitle(ICharSequence). It converts a non-null string to String and passes it to that overload. A null value is passed through unchanged.

.NET binding string-overload implementation.

Applies to