AdaptiveMediaSourceDownloadFailedEventArgs.ResourceDuration Property

Definition

Gets a TimeSpan representing the duration of the resource associated with the event.

public:
 property IReference<TimeSpan> ^ ResourceDuration { IReference<TimeSpan> ^ get(); };
IReference<TimeSpan> ResourceDuration();
public System.Nullable<System.TimeSpan> ResourceDuration { get; }
var iReference = adaptiveMediaSourceDownloadFailedEventArgs.resourceDuration;
Public ReadOnly Property ResourceDuration As Nullable(Of TimeSpan)

Property Value

The duration of the resource associated with the event.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

This value only applies to content with a ResourceType of MediaSegment and is optional. The property will be set if the value is found in the DASH manifest.

Applies to