Language

MediaRoute2Info.Builder.SetDescription Method

Definition

Overloads

Name Description
SetDescription(ICharSequence)

Sets the user-visible description of the route.

SetDescription(String)

Stores a display description for the route being built.

SetDescription(ICharSequence)

Sets the user-visible description of the route.

[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)]
public Android.Media.MediaRoute2Info.Builder SetDescription(Java.Lang.ICharSequence? description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)>]
member this.SetDescription : Java.Lang.ICharSequence -> Android.Media.MediaRoute2Info.Builder

Parameters

description
ICharSequence

The description to store for the route, or null for no description.

Returns

A route builder with the supplied description recorded.

Attributes

Remarks

Sets the user-visible description of the route.

Android reference for android.media.MediaRoute2Info.Builder.setDescription.

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

SetDescription(String)

Stores a display description for the route being built.

public Android.Media.MediaRoute2Info.Builder SetDescription(string? description);
member this.SetDescription : string -> Android.Media.MediaRoute2Info.Builder

Parameters

description
String

The display description to assign to the route, or null for no description.

Returns

A route builder with the supplied display description recorded.

Remarks

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

Applies to