AdaptiveMediaSourceDownloadCompletedEventArgs Class
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.
Provides data for the DownloadCompleted event.
public ref class AdaptiveMediaSourceDownloadCompletedEventArgs 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 AdaptiveMediaSourceDownloadCompletedEventArgs 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 AdaptiveMediaSourceDownloadCompletedEventArgs
Public NotInheritable Class AdaptiveMediaSourceDownloadCompletedEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
Obtain an instance of this class by implementing a handler for the DownloadCompleted event.
Version history
Windows version | SDK version | Value added |
---|---|---|
1703 | 15063 | Position |
1703 | 15063 | RequestId |
1703 | 15063 | Statistics |
1803 | 17134 | ResourceContentType |
1803 | 17134 | ResourceDuration |
Properties
HttpResponseMessage |
Gets the http response message, if any, returned from the completed media download request. |
Position |
Gets a time span representing the position within the timeline of the media segment to which the event applies. |
RequestId |
Gets a locally-unique identifier for the web request associated with the event. |
ResourceByteRangeLength |
Gets the byte range length of the completed media download request. |
ResourceByteRangeOffset |
Gets the byte range offset of the completed media download request. |
ResourceContentType |
Gets a string representing the content type associated with the event. |
ResourceDuration |
Gets a TimeSpan representing the duration of the resource associated with the event. |
ResourceType |
Gets the resource type of the completed media download request. |
ResourceUri |
Gets the resource URI of the completed media download request. |
Statistics |
Gets an object that provides download statistics associated with the event. |