Static
prefixedOptional
params: { callId?: string; enableOffline?: boolean }Optional
call呼叫id,非必填
Optional
enable是否接收离线消息;
Rest
...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]Optional
context: any发起呼叫
Calls each of the listeners registered for a given event.
Rest
...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]Return an array listing the events for which the emitter has registered listeners.
拒绝呼叫,包含主叫取消,被叫拒绝(reason: 3,主叫接受到繁忙),通话中挂断。
Optional
params: { callId?: string; enableOffline?: boolean; reason?: number }Optional
call呼叫id
Optional
enable是否接收离线消息
Optional
reason?: number拒绝原因
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optional
fn: ((...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]) => void)Rest
...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]Optional
context: anyOptional
once: booleanAdd a listener for a given event.
Rest
...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]Optional
context: anyAdd a one-time listener for a given event.
Rest
...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]Optional
context: anyRemove all listeners, or those of the specified event.
Optional
event: keyof NECallEventsRemove the listeners of a given event.
Optional
fn: ((...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]) => void)Rest
...args: ArgumentMap<NECallEvents>[Extract<T, keyof NECallEvents>]Optional
context: anyOptional
once: boolean切换呼叫类型
Optional
call呼叫id
呼叫类型
1: 邀请; 2:同意; 3:拒绝
Generated using TypeDoc
接收呼叫