MediaStreamSource.ReportOpenMediaCompleted Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Developers call this method in response to OpenMediaAsync to inform the MediaElement that the MediaStreamSource has been opened and to supply information about the streams it contains.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Protected Sub ReportOpenMediaCompleted ( _ mediaStreamAttributes As IDictionary(Of MediaSourceAttributesKeys, String), _ availableMediaStreams As IEnumerable(Of MediaStreamDescription) _ )
Parameters
- mediaStreamAttributes
- Type: System.Collections.Generic.IDictionary(Of MediaSourceAttributesKeys, String)
A collection of attributes describing features of the entire media source. Currently supported attributes are listed in the MediaSourceAttributesKeys.
- availableMediaStreams
- Type: System.Collections.Generic.IEnumerable(Of MediaStreamDescription)
A description of each audio and video stream contained within the content.
Show: