AdaptiveMediaSourceDownloadResult AdaptiveMediaSourceDownloadResult AdaptiveMediaSourceDownloadResult AdaptiveMediaSourceDownloadResult Class

Definition

Represents the results of a resource download operation.

public : sealed class AdaptiveMediaSourceDownloadResult : IAdaptiveMediaSourceDownloadResult, IAdaptiveMediaSourceDownloadResult2public sealed class AdaptiveMediaSourceDownloadResult : IAdaptiveMediaSourceDownloadResult, IAdaptiveMediaSourceDownloadResult2Public NotInheritable Class AdaptiveMediaSourceDownloadResult Implements IAdaptiveMediaSourceDownloadResult, IAdaptiveMediaSourceDownloadResult2// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Obtain an instance of this class from the Result property of the AdaptiveMediaSourceDownloadRequestedEventArgs object passed to the handler for the DownloadRequested event.

Properties

Buffer Buffer Buffer Buffer

Gets or sets a buffer containing the downloaded resource.

public : IBuffer Buffer { get; set; }public IBuffer Buffer { get; set; }Public ReadWrite Property Buffer As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

A buffer containing the downloaded resource.

ContentType ContentType ContentType ContentType

Gets or sets a string that identifies the MIME content type of the downloaded resource.

public : PlatForm::String ContentType { get; set; }public string ContentType { get; set; }Public ReadWrite Property ContentType As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A string that identifies the MIME content type of the downloaded resource.

ExtendedStatus ExtendedStatus ExtendedStatus ExtendedStatus

Gets or sets an integer value that represents extended status information about the resource download operation.

public : unsigned int ExtendedStatus { get; set; }public uint ExtendedStatus { get; set; }Public ReadWrite Property ExtendedStatus As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

An integer value that represents extended status information about the resource download operation.

InputStream InputStream InputStream InputStream

Gets or sets an input stream containing the downloaded resource.

public : IInputStream InputStream { get; set; }public IInputStream InputStream { get; set; }Public ReadWrite Property InputStream As IInputStream// You can use this property in JavaScript.
Value
IInputStream IInputStream IInputStream IInputStream

An input stream containing the downloaded resource.

ResourceByteRangeLength ResourceByteRangeLength ResourceByteRangeLength ResourceByteRangeLength

Gets or sets the requested byte range of the resource to be downloaded.

public : IReference<ulong> ResourceByteRangeLength { get; set; }public Nullable<ulong> ResourceByteRangeLength { get; set; }Public ReadWrite Property ResourceByteRangeLength As Nullable<ulong>// You can use this property in JavaScript.
Value
IReference<ulong> Nullable<ulong> Nullable<ulong> Nullable<ulong>

The requested byte range of the resource to be downloaded.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

If this value is set to null, no byte range request is issued and the entire resource will be downloaded. Setting the byte range length to zero is not allowed. If a non-null, non-zero value is specified, then the system will use the value, along with any value specified for the ResourceByteRangeOffset property, to issue a byte range request to the Http server hosting the resource.

ResourceByteRangeOffset ResourceByteRangeOffset ResourceByteRangeOffset ResourceByteRangeOffset

Gets or sets the requested byte range offset of the resource to be downloaded.

public : IReference<ulong> ResourceByteRangeOffset { get; set; }public Nullable<ulong> ResourceByteRangeOffset { get; set; }Public ReadWrite Property ResourceByteRangeOffset As Nullable<ulong>// You can use this property in JavaScript.
Value
IReference<ulong> Nullable<ulong> Nullable<ulong> Nullable<ulong>

The requested byte range offset of the resource to be downloaded.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

If a non-null, non-zero value is specified for the ResourceByteRangeLength property, the value of ResourceByteRangeOffset is used to issue a byte range request to the Http server hosting the resource.

ResourceUri ResourceUri ResourceUri ResourceUri

Gets or sets the Uniform Resource Identifier (URI) of the downloaded resource.

public : Uri ResourceUri { get; set; }public Uri ResourceUri { get; set; }Public ReadWrite Property ResourceUri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The Uniform Resource Identifier (URI) of the downloaded resource.