MediaController(Context, MediaSession+Token) 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.
Create a new MediaController from a session's token.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/media/session/MediaSession$Token;)V", "")]
public MediaController (Android.Content.Context context, Android.Media.Session.MediaSession.Token token);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/media/session/MediaSession$Token;)V", "")>]
new Android.Media.Session.MediaController : Android.Content.Context * Android.Media.Session.MediaSession.Token -> Android.Media.Session.MediaController
Parameters
- context
- Context
The caller's context.
- token
- MediaSession.Token
The token for the session.
- 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.