MediaSessionManager.MediaKeyEventSessionChangedEventArgs Class
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.
Provides information about a change to the default media key event session.
public class MediaSessionManager.MediaKeyEventSessionChangedEventArgs : EventArgs
type MediaSessionManager.MediaKeyEventSessionChangedEventArgs = class
inherit EventArgs
- Inheritance
-
MediaSessionManager.MediaKeyEventSessionChangedEventArgs
Remarks
This .NET event data contains the arguments supplied to OnMediaKeyEventSessionChanged(String, MediaSession+Token). The session is the default target for media key events when no target is specified.
Constructors
| Name | Description |
|---|---|
| MediaSessionManager.MediaKeyEventSessionChangedEventArgs(String, MediaSession+Token) |
Initializes a new instance of the MediaSessionManager.MediaKeyEventSessionChangedEventArgs class with the specified package name and session token. |
Properties
| Name | Description |
|---|---|
| PackageName |
Gets the package name supplied with the notification. |
| SessionToken |
Gets the default media key event session's token. |