MediaPlayer.SetPlaybackSource | setPlaybackSource method
[This documentation is preliminary and is subject to change.]
Sets the playback source of the media player.
Syntax
mediaPlayer.setPlaybackSource(source);
public void SetPlaybackSource(
IMediaPlaybackSource source
)
Public Sub SetPlaybackSource(
source As IMediaPlaybackSource
)
public:
void SetPlaybackSource(
IMediaPlaybackSource^ source
)
Parameters
source
Type: IMediaPlaybackSourceThe playback source of the media player.
Remarks
The playback source can be a MediaPlaybackItem or a MediaPlaybackList, which is a list of MediaPlaybackItem objects.
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 |