MediaPlayer MediaPlayer MediaPlayer MediaPlayer MediaPlayer Constructor

Definition

Initializes a new instance of the MediaPlayer object.

public : MediaPlayer()
MediaPlayer() const;
public MediaPlayer()
Public Sub New()
var mediaPlayer = new mediaPlayer();

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)