Udostępnij za pośrednictwem


AdaptiveMediaSourceCreationResult Class

Definition

Represents the result of the creation of a AdaptiveMediaSource object.

public ref class AdaptiveMediaSourceCreationResult 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 AdaptiveMediaSourceCreationResult 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 AdaptiveMediaSourceCreationResult
Public NotInheritable Class AdaptiveMediaSourceCreationResult
Inheritance
Object Platform::Object IInspectable AdaptiveMediaSourceCreationResult
Attributes

Windows requirements

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

Remarks

This object is accessed when you call one of the CreateFromStreamAsync or CreateFromUriAsync methods to create a AdaptiveMediaSource object.

For how-to guidance for using adaptive streaming in your app, see Adaptive streaming.

Version history

Windows version SDK version Value added
1703 15063 ExtendedError

Properties

ExtendedError

Gets the extended error code associated with the creation of a AdaptiveMediaSource object.

HttpResponseMessage

Gets the HTTP response message, if any, returned from an attempt to create a AdaptiveMediaSource object.

MediaSource

Gets the AdaptiveMediaSource object that represents the source of adaptive streaming content.

Status

Gets the status of an attempt to create a AdaptiveMediaSource object.

Applies to

See also