Udostępnij za pośrednictwem


MediaController2.Builder(Context, Session2Token) Constructor

Definition

Creates a builder for MediaController2.

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

Parameters

context
Context

context

token
Session2Token

token of the session to connect to

Attributes

Remarks

Java documentation for android.media.MediaController2.Builder.MediaController2$Builder(android.content.Context, android.media.Session2Token).

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