MediaDiagnostics interface

미디어 진단

메서드

getLatest()

알려진 최신 미디어 진단 가져오기

off("diagnosticChanged", (args: MediaDiagnosticChangedEventArgs) => void)

diagnosticChanged 이벤트에 대한 구독 취소 함수

on("diagnosticChanged", (args: MediaDiagnosticChangedEventArgs) => void)

diagnosticChanged 이벤트에 대한 Subscribe 함수

메서드 세부 정보

getLatest()

알려진 최신 미디어 진단 가져오기

function getLatest(): LatestMediaDiagnostics

반환

off("diagnosticChanged", (args: MediaDiagnosticChangedEventArgs) => void)

diagnosticChanged 이벤트에 대한 구독 취소 함수

function off(event: "diagnosticChanged", listener: (args: MediaDiagnosticChangedEventArgs) => void)

매개 변수

event

"diagnosticChanged"

이벤트 이름

listener

(args: MediaDiagnosticChangedEventArgs) => void

이 이벤트 구독을 취소하는 데 사용된 콜백 fn

on("diagnosticChanged", (args: MediaDiagnosticChangedEventArgs) => void)

diagnosticChanged 이벤트에 대한 Subscribe 함수

function on(event: "diagnosticChanged", listener: (args: MediaDiagnosticChangedEventArgs) => void)

매개 변수

event

"diagnosticChanged"

이벤트 이름

listener

(args: MediaDiagnosticChangedEventArgs) => void

진단이 변경될 때 호출되는 콜백 fn