MediaPlayer.CommandManager 属性

定义

获取与 MediaPlayer 关联的 MediaPlaybackCommandManager,该命令指定从系统媒体传输控件接收事件的行为。

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

属性值

MediaPlayer 关联的 MediaPlaybackCommandManager

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

适用于