AdaptiveMediaSourceDiagnostics AdaptiveMediaSourceDiagnostics AdaptiveMediaSourceDiagnostics AdaptiveMediaSourceDiagnostics Class

Definition

Provides an event that is raised when diagnostic information about the adaptive media source is available.

public : sealed class AdaptiveMediaSourceDiagnostics : IAdaptiveMediaSourceDiagnostics
public sealed class AdaptiveMediaSourceDiagnostics : IAdaptiveMediaSourceDiagnostics
Public NotInheritable Class AdaptiveMediaSourceDiagnostics Implements IAdaptiveMediaSourceDiagnostics
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Remarks

Get an instance of this class by accessing the Diagnostics property of an AdaptiveMediaSource.

The diagnostics provided by this class are not intended to be used to change the behavior of an app at runtime. Instead, these are provided to enable telemetry collection.

Events

DiagnosticAvailable DiagnosticAvailable DiagnosticAvailable DiagnosticAvailable

Occurs when diagnostic information about the adaptive media source is available.

public : event TypedEventHandler DiagnosticAvailable<AdaptiveMediaSourceDiagnostics, AdaptiveMediaSourceDiagnosticAvailableEventArgs>
public event TypedEventHandler DiagnosticAvailable<AdaptiveMediaSourceDiagnostics, AdaptiveMediaSourceDiagnosticAvailableEventArgs>
Public Event TypedEventHandler DiagnosticAvailable( Of ( Of AdaptiveMediaSourceDiagnostics ), ( Of AdaptiveMediaSourceDiagnosticAvailableEventArgs ))
function onDiagnosticAvailable(eventArgs){/* Your code */}


adaptiveMediaSourceDiagnostics.addEventListener("diagnosticAvailable", onDiagnosticAvailable);
adaptiveMediaSourceDiagnostics.removeEventListener("diagnosticAvailable", onDiagnosticAvailable);