MediaPlayer.SetUriSource(Uri) MediaPlayer.SetUriSource(Uri) MediaPlayer.SetUriSource(Uri) MediaPlayer.SetUriSource(Uri) MediaPlayer.SetUriSource(Uri) Method

Definition

Sets the path to the media.

Note

MediaPlayer.SetUriSource may be altered or unavailable after Windows 10. Use MediaPlayer.Source instead.

public : void SetUriSource(Uri value)
void SetUriSource(Uri value) const;
public void SetUriSource(Uri value)
Public Sub SetUriSource(value As Uri)
mediaPlayer.setUriSource(value);

Parameters

value
Uri Uri Uri

The path to the media.