Session2Token(Context, ComponentName) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.