Language

MediaRoute2Info.Builder.SetExtras(Bundle) Method

Definition

Sets a bundle of extras for the route.

[Android.Runtime.Register("setExtras", "(Landroid/os/Bundle;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)]
public Android.Media.MediaRoute2Info.Builder SetExtras(Android.OS.Bundle? extras);
[<Android.Runtime.Register("setExtras", "(Landroid/os/Bundle;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)>]
member this.SetExtras : Android.OS.Bundle -> Android.Media.MediaRoute2Info.Builder

Parameters

extras
Bundle

The bundle whose entries are to be stored as route extras, or null to clear the extras.

Returns

A route builder with its extras set from the supplied bundle.

Attributes

Remarks

Sets a bundle of extras for the route. Note: The extras will not affect the result of MediaRoute2Info.equals(Object).

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

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