Skip to content

qchat_def.instance_def

Zvicii edited this page Nov 22, 2022 · 5 revisions

Module: qchat_def/instance_def

Table of contents

Interfaces

Type Aliases

Type Aliases

CustomTokenCallback

Ƭ CustomTokenCallback: (resp: QChatCustomTokenResp) => QChatCustomTokenResp

Type declaration

▸ (resp): QChatCustomTokenResp

获取自定义token回调

Parameters
Name Type
resp QChatCustomTokenResp
Returns

QChatCustomTokenResp

Defined in

ts/qchat_def/instance_def.ts:113


KickedCallback

Ƭ KickedCallback: (resp: QChatKickedResp) => void

Type declaration

▸ (resp): void

被踢回调

Parameters
Name Type
resp QChatKickedResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:115


LoginStatusCallback

Ƭ LoginStatusCallback: (resp: QChatLoginStatusResp) => void

Type declaration

▸ (resp): void

登录状态回调

Parameters
Name Type
resp QChatLoginStatusResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:117


MultispotLoginCallback

Ƭ MultispotLoginCallback: (resp: QChatMultispotLoginResp) => void

Type declaration

▸ (resp): void

多点登录回调

Parameters
Name Type
resp QChatMultispotLoginResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:119


SDKLogCallback

Ƭ SDKLogCallback: (resp: QChatSDKLogResp) => void

Type declaration

▸ (resp): void

SDK系统日志回调模板

Parameters
Name Type
resp QChatSDKLogResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:121


QChatLoginCallback

Ƭ QChatLoginCallback: (resp: QChatLoginResp) => void

Type declaration

▸ (resp): void

登录回调

Parameters
Name Type
resp QChatLoginResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:123


QChatLogoutCallback

Ƭ QChatLogoutCallback: (resp: QChatLogoutResp) => void

Type declaration

▸ (resp): void

登出回调

Parameters
Name Type
resp QChatLogoutResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:125


KickCallback

Ƭ KickCallback: (resp: QChatKickResp) => void

Type declaration

▸ (resp): void

踢掉自己其他端回调

Parameters
Name Type
resp QChatKickResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:127


GetRTCTokenCallback

Ƭ GetRTCTokenCallback: (resp: QChatGetRTCTokenResp) => void

Type declaration

▸ (resp): void

获取RTC频道token回调

Parameters
Name Type
resp QChatGetRTCTokenResp
Returns

void

Defined in

ts/qchat_def/instance_def.ts:129

Clone this wiki locally