AdaptiveMediaSourceDiagnostics.DiagnosticAvailable Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when diagnostic information about the adaptive media source is available.
// Register
event_token DiagnosticAvailable(TypedEventHandler<AdaptiveMediaSourceDiagnostics, AdaptiveMediaSourceDiagnosticAvailableEventArgs const&> const& handler) const;
// Revoke with event_token
void DiagnosticAvailable(event_token const* cookie) const;
// Revoke with event_revoker
AdaptiveMediaSourceDiagnostics::DiagnosticAvailable_revoker DiagnosticAvailable(auto_revoke_t, TypedEventHandler<AdaptiveMediaSourceDiagnostics, AdaptiveMediaSourceDiagnosticAvailableEventArgs const&> const& handler) const;
public event TypedEventHandler<AdaptiveMediaSourceDiagnostics,AdaptiveMediaSourceDiagnosticAvailableEventArgs> DiagnosticAvailable;
function onDiagnosticAvailable(eventArgs) { /* Your code */ }
adaptiveMediaSourceDiagnostics.addEventListener("diagnosticavailable", onDiagnosticAvailable);
adaptiveMediaSourceDiagnostics.removeEventListener("diagnosticavailable", onDiagnosticAvailable);
- or -
adaptiveMediaSourceDiagnostics.ondiagnosticavailable = onDiagnosticAvailable;
Public Custom Event DiagnosticAvailable As TypedEventHandler(Of AdaptiveMediaSourceDiagnostics, AdaptiveMediaSourceDiagnosticAvailableEventArgs)