Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Listener<T>

事件监听函数 其中 RtcEventInstance 为事件实例

注:使用 typescript 时,会根据 T RtcEventType 类型自动推断 RtcEvent 的类型。

Type parameters

  • T

Hierarchy

  • Listener

Callable

  • __call(event: RtcEventInstance<T>): void
  • 事件监听函数 其中 RtcEventInstance 为事件实例

    注:使用 typescript 时,会根据 T RtcEventType 类型自动推断 RtcEvent 的类型。

    Parameters

    • event: RtcEventInstance<T>

    Returns void

Generated using TypeDoc