다음을 통해 공유


AdaptiveMediaSourceDiagnostics.DiagnosticAvailable 이벤트

정의

적응형 미디어 원본에 대한 진단 정보를 사용할 수 있을 때 발생합니다.

// 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) 

이벤트 유형

적용 대상