次の方法で共有


MediaStatsCollector interface

メディア統計コレクター。

メソッド

dispose()

Dispose コレクター。

off("sampleReported", MediaStatsReportSampleEvent)

生 mediaStatsReport イベントの Unsubscribe 関数。

off("summaryReported", MediaStatsReportSummaryEvent)

MediaStatsReportSummary イベントの Unsubscribe 関数。

on("sampleReported", MediaStatsReportSampleEvent)

MediaStatsReportSample イベントのサブスクライブ関数。

on("summaryReported", MediaStatsReportSummaryEvent)

MediaStatsReportSummary イベントのサブスクライブ関数。

メソッドの詳細

dispose()

Dispose コレクター。

function dispose()

off("sampleReported", MediaStatsReportSampleEvent)

生 mediaStatsReport イベントの Unsubscribe 関数。

function off(event: "sampleReported", listener: MediaStatsReportSampleEvent)

パラメーター

event

"sampleReported"

イベント名

listener
MediaStatsReportSampleEvent

このイベントのサブスクライブに使用されたコールバック fn

off("summaryReported", MediaStatsReportSummaryEvent)

MediaStatsReportSummary イベントの Unsubscribe 関数。

function off(event: "summaryReported", listener: MediaStatsReportSummaryEvent)

パラメーター

event

"summaryReported"

イベント名

listener
MediaStatsReportSummaryEvent

このイベントのサブスクライブに使用されたコールバック fn

on("sampleReported", MediaStatsReportSampleEvent)

MediaStatsReportSample イベントのサブスクライブ関数。

function on(event: "sampleReported", listener: MediaStatsReportSampleEvent)

パラメーター

event

"sampleReported"

イベント名

listener
MediaStatsReportSampleEvent

このイベントのサブスクライブに使用されたコールバック fn

on("summaryReported", MediaStatsReportSummaryEvent)

MediaStatsReportSummary イベントのサブスクライブ関数。

function on(event: "summaryReported", listener: MediaStatsReportSummaryEvent)

パラメーター

event

"summaryReported"

イベント名

listener
MediaStatsReportSummaryEvent

このイベントのサブスクライブに使用されたコールバック fn