Dela via


AdaptiveMediaSourceDiagnosticAvailableEventArgs Class

Definition

Provides data for the DiagnosticAvailable event which is raised when diagnostic information for the adaptive media source becomes available.

public ref class AdaptiveMediaSourceDiagnosticAvailableEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceDiagnosticAvailableEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceDiagnosticAvailableEventArgs
Public NotInheritable Class AdaptiveMediaSourceDiagnosticAvailableEventArgs
Inheritance
Object Platform::Object IInspectable AdaptiveMediaSourceDiagnosticAvailableEventArgs
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

The information provided by this event is not intended to be used to modify runtime behavior, but is instead provided for telemetry collection.

Version history

Windows version SDK version Value added
1709 16299 ExtendedError
1803 17134 ResourceContentType
1803 17134 ResourceDuration

Properties

Bitrate

Gets the bitrate of the web request to which the diagnostic information applies.

DiagnosticType

Gets a value indicating the type of diagnostic that is associated with the event.

ExtendedError

Gets the extended error code associated with the event.

Position

Gets the presentation playback position associated with the event.

RequestId

Gets a locally-unique identifier for the web request associated with the event.

ResourceByteRangeLength

Gets the resource byte range length of the web request to which the diagnostic information applies.

ResourceByteRangeOffset

Gets the resource byte range offset of the web request to which the diagnostic information applies.

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 web request to which the diagnostic information applies.

ResourceUri

Gets the resource URI of the web request to which the diagnostic information applies.

SegmentId

Gets the segment ID of the media segment to which the diagnostic information applies.

Applies to