11TG_PUBLIC
extern int _wx_debug;
15int _wxInit(
const char *data_path,
const char *app_id,
const char *model_id);
23int _wxInit2(
const char *data_path);
74TG_PUBLIC
int wxCall2(
const char *openid,
int timeout);
75TG_PUBLIC
int wxCall(
const char *openid);
83TG_PUBLIC
const char *wxGetErrStr(
int err);
TG_PUBLIC int wxInit(void)
注册微信Voip模块.
TG_PUBLIC void wxUninit(void)
反初始化wxvoip模块
int(* TGWXVOIPCALLBACK)(int type, void *data, int len)
微信voip内部通知回调.
TG_PUBLIC int wxCancelCall()
取消小程序外呼或挂断通话
TG_PUBLIC int wxCall2(const char *openid, int timeout)
呼叫小程序
TG_PUBLIC void wxSetCallback(TGWXVOIPCALLBACK cb)
设置回调.
TG_PUBLIC int wxGetUsers(struct WxUser **ppWxUser, int *pNUsers)
获取呼叫对象列表.