Udostępnij za pośrednictwem


AdaptiveMediaSourceDownloadRequestedDeferral Class

Definition

Represents a deferral that can be used to defer the completion of the DownloadRequested event so that the app can asynchronously download media content.

public ref class AdaptiveMediaSourceDownloadRequestedDeferral sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceDownloadRequestedDeferral final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceDownloadRequestedDeferral
Public NotInheritable Class AdaptiveMediaSourceDownloadRequestedDeferral
Inheritance
Object Platform::Object IInspectable AdaptiveMediaSourceDownloadRequestedDeferral
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

To get an instance of this class call AdaptiveMediaSourceDownloadRequestedEventargs.GetDeferral.

Methods

Complete()

Informs the system that an asynchronous operation associated with a DownloadRequested event has finished.

Applies to