Language

MediaSessionManager.MediaKeyEventSessionChangedEventArgs Constructor

Definition

Initializes a new instance of the MediaSessionManager.MediaKeyEventSessionChangedEventArgs class with the specified package name and session token.

public MediaKeyEventSessionChangedEventArgs(string packageName, Android.Media.Session.MediaSession.Token? sessionToken);
new Android.Media.Session.MediaSessionManager.MediaKeyEventSessionChangedEventArgs : string * Android.Media.Session.MediaSession.Token -> Android.Media.Session.MediaSessionManager.MediaKeyEventSessionChangedEventArgs

Parameters

packageName
String

The package name supplied with the notification. This can be an empty string.

sessionToken
MediaSession.Token

The default media key event session's token, or null when no session is set.

Remarks

The constructor stores the supplied values for use by event handlers.

Applies to