TIMOnInvited
功能介绍
设置收到信令邀请的回调
参数详解
参数名称 | 参数类型 | 是否必填 | 描述 |
---|---|---|---|
params | SetSignalingReceiveNewInvitationCallbackParam | 是 | 设置收到信令邀请的回调的参数 |
返回模板
void
返回值详解
此函数无返回值
代码示例
import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
import { SetSignalingReceiveNewInvitationCallbackParam } from "im_electron_sdk/dist/interfaces";
let param:SetSignalingReceiveNewInvitationCallbackParam = {
callback: (data) => {}
}
timRenderInstance.TIMOnInvited(param);