Jaa


MediaSource.OpenAsync Method

Definition

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.

Applies to