Language

RouteListingPreference.Item.Builder.SetCustomSubtextMessage Method

Definition

Overloads

Name Description
SetCustomSubtextMessage(ICharSequence)

See Item.getCustomSubtextMessage().

SetCustomSubtextMessage(String)

Stores custom subtext for the route item being built.

SetCustomSubtextMessage(ICharSequence)

See Item.getCustomSubtextMessage().

[Android.Runtime.Register("setCustomSubtextMessage", "(Ljava/lang/CharSequence;)Landroid/media/RouteListingPreference$Item$Builder;", "", ApiSince=34)]
public Android.Media.RouteListingPreference.Item.Builder SetCustomSubtextMessage(Java.Lang.ICharSequence? customSubtextMessage);
[<Android.Runtime.Register("setCustomSubtextMessage", "(Ljava/lang/CharSequence;)Landroid/media/RouteListingPreference$Item$Builder;", "", ApiSince=34)>]
member this.SetCustomSubtextMessage : Java.Lang.ICharSequence -> Android.Media.RouteListingPreference.Item.Builder

Parameters

customSubtextMessage
ICharSequence

The custom message to store for the route item, or null.

Returns

An item builder with the supplied custom message recorded.

Attributes

Remarks

See Item.getCustomSubtextMessage(). The default value is null.

Android reference for android.media.RouteListingPreference.Item.Builder.setCustomSubtextMessage.

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

SetCustomSubtextMessage(String)

Stores custom subtext for the route item being built.

public Android.Media.RouteListingPreference.Item.Builder SetCustomSubtextMessage(string? customSubtextMessage);
member this.SetCustomSubtextMessage : string -> Android.Media.RouteListingPreference.Item.Builder

Parameters

customSubtextMessage
String

The custom message to assign to the route item, or null.

Returns

An item builder with the supplied custom subtext recorded.

Remarks

This overload converts a non-null message to a Java string and calls the character-sequence overload.

Applies to