Language

MediaSessionManager.MediaKeyEventSessionChangedEventArgs Class

Definition

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.

Applies to