Partager via


MediaSession2.Builder(Context) Constructor

Definition

Creates a builder for MediaSession2.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=29)]
public Builder (Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "", ApiSince=29)>]
new Android.Media.MediaSession2.Builder : Android.Content.Context -> Android.Media.MediaSession2.Builder

Parameters

context
Context

Context

Attributes

Remarks

Java documentation for android.media.MediaSession2.Builder.MediaSession2$Builder(android.content.Context).

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