Dela via


MediaPlayer.CommandManager Property

Definition

Gets the MediaPlaybackCommandManager associated with the MediaPlayer, which specifies the behavior of and receives events from the System Media Transport Controls.

public:
 property MediaPlaybackCommandManager ^ CommandManager { MediaPlaybackCommandManager ^ get(); };
MediaPlaybackCommandManager CommandManager();
public MediaPlaybackCommandManager CommandManager { get; }
var mediaPlaybackCommandManager = mediaPlayer.commandManager;
Public ReadOnly Property CommandManager As MediaPlaybackCommandManager

Property Value

The MediaPlaybackCommandManager associated with the MediaPlayer.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to