MediaSource.OpenAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
opens the backing data source for the MediaSource and reads the metadata and track information.
public:
virtual IAsyncAction ^ OpenAsync() = OpenAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction OpenAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction OpenAsync();
function openAsync()
Public Function OpenAsync () As IAsyncAction
Returns
An asynchronous action.
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
This method can be called to preload the associated media for performance reasons or to verify that the media loads successfully.