MediaPlayer.Play | play method

Starts media playback.

Syntax


mediaPlayer.play();

Parameters

This method has no parameters.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media.Playback
Windows::Media::Playback [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Media.Playback
Windows::Media::Playback [C++]

Metadata

Windows.winmd

See also

MediaPlayer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft