SwitchMediaStreamAsync Method

MediaStreamSource.SwitchMediaStreamAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Called when a stream switch is requested on the MediaElement.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

protected abstract void SwitchMediaStreamAsync(
	MediaStreamDescription mediaStreamDescription


Type: System.Windows.Media.MediaStreamDescription
The stream switched to.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft