Udostępnij za pośrednictwem


Session2Token(Context, ComponentName) Constructor

Definition

Constructor for the token with type #TYPE_SESSION_SERVICE.

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

Parameters

context
Context

The context.

serviceComponent
ComponentName

The component name of the service.

Attributes

Remarks

Java documentation for android.media.Session2Token.Session2Token(android.content.Context, android.content.ComponentName).

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