Language

WallpaperDescription.Builder.SetContextDescription Method

Definition

Overloads

Name Description
SetContextDescription(ICharSequence)

Set the link text for the action associated with this wallpaper.

SetContextDescription(String)

Sets the link text for the wallpaper action from a string.

SetContextDescription(ICharSequence)

Set the link text for the action associated with this wallpaper.

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

Parameters

contextDescription
ICharSequence

the link text, or null for default text

Returns

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

Attributes

Remarks

Set the link text for the action associated with this wallpaper.

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

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

SetContextDescription(String)

Sets the link text for the wallpaper action from a string.

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

Parameters

contextDescription
String

The link text, or null to use the default text.

Returns

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

Remarks

This is the string overload of SetContextDescription(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