AdaptiveMediaSourceDownloadResult Class
Definition
Represents the results of a resource download operation.
public ref class AdaptiveMediaSourceDownloadResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceDownloadResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.DualApiPartition(version=167772160)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceDownloadResult
Public NotInheritable Class AdaptiveMediaSourceDownloadResult
- Inheritance
-
AdaptiveMediaSourceDownloadResult
- Attributes
Windows 10 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 from the Result property of the AdaptiveMediaSourceDownloadRequestedEventArgs object passed to the handler for the DownloadRequested event.
Version history
Windows version | SDK version | Value added |
---|---|---|
1607 | 14393 | ResourceByteRangeLength |
1607 | 14393 | ResourceByteRangeOffset |
Properties
Buffer |
Gets or sets a buffer containing the downloaded resource. |
ContentType |
Gets or sets a string that identifies the MIME content type of the downloaded resource. |
ExtendedStatus |
Gets or sets an integer value that represents extended status information about the resource download operation. |
InputStream |
Gets or sets an input stream containing the downloaded resource. |
ResourceByteRangeLength |
Gets or sets the requested byte range of the resource to be downloaded. |
ResourceByteRangeOffset |
Gets or sets the requested byte range offset of the resource to be downloaded. |
ResourceUri |
Gets or sets the Uniform Resource Identifier (URI) of the downloaded resource. |