MediaPlayer.Source MediaPlayer.Source MediaPlayer.Source MediaPlayer.Source MediaPlayer.Source Property

Definition

Sets the playback source of the media player.

public : IMediaPlaybackSource Source { get; set; }
IMediaPlaybackSource Source();

void Source(IMediaPlaybackSource source);
public IMediaPlaybackSource Source { get; set; }
Public ReadWrite Property Source As IMediaPlaybackSource
var iMediaPlaybackSource = mediaPlayer.source;
mediaPlayer.source = iMediaPlaybackSource;
Property Value

The playback source of the media player.

Remarks

The playback source can be a MediaSource, a MediaPlaybackItem, or a MediaPlaybackList, which is a list of MediaPlaybackItem objects.