Share via


MediaPlaybackCommandManager.MediaPlayer Property

Definition

Gets the MediaPlayer instance associated with the MediaPlaybackCommandManager.

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

Property Value

The MediaPlayer instance associated with the MediaPlaybackCommandManager.

Remarks

You get an instance of the MediaPlaybackCommandManager by accessing the CommandManager property of a MediaPlayer object. This property gives you a reference to the media player from which the command manager was obtained.

Applies to