MediaSessionManager.MediaKeyEventSessionChangedEventArgs 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.
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.