Skip to content

nim_def.session_def

Zvicii edited this page Oct 24, 2022 · 4 revisions

Module: nim_def/session_def

Table of contents

Enumerations

Interfaces

Type Aliases

Type Aliases

SessionChangeCallback

Ƭ SessionChangeCallback: (rescode: NIMResCode, result: SessionData, count: number) => void

Type declaration

▸ (rescode, result, count): void

Parameters
Name Type
rescode NIMResCode
result SessionData
count number
Returns

void

Defined in

ts/nim_def/session_def.ts:86


DeleteSessionRoamingMessageCallback

Ƭ DeleteSessionRoamingMessageCallback: (rescode: NIMResCode, to_type: number, session_id: string) => void

Type declaration

▸ (rescode, to_type, session_id): void

Parameters
Name Type
rescode NIMResCode
to_type number
session_id string
Returns

void

Defined in

ts/nim_def/session_def.ts:87


BadgeCountCallback

Ƭ BadgeCountCallback: (result: string) => void

Type declaration

▸ (result): void

Parameters
Name Type
result string
Returns

void

Defined in

ts/nim_def/session_def.ts:88


QuerySessionListCallback

Ƭ QuerySessionListCallback: (count: number, result: SessionDataList) => void

Type declaration

▸ (count, result): void

Parameters
Name Type
count number
result SessionDataList
Returns

void

Defined in

ts/nim_def/session_def.ts:89


QuerySessionDataCallback

Ƭ QuerySessionDataCallback: (rescode: NIMResCode, result: SessionData) => void

Type declaration

▸ (rescode, result): void

Parameters
Name Type
rescode NIMResCode
result SessionData
Returns

void

Defined in

ts/nim_def/session_def.ts:90


SetToStickTopSessionNotifyCallback

Ƭ SetToStickTopSessionNotifyCallback: (result: string) => void

Type declaration

▸ (result): void

Parameters
Name Type
result string
Returns

void

Defined in

ts/nim_def/session_def.ts:91


CancelStickTopSessionNotifyCallback

Ƭ CancelStickTopSessionNotifyCallback: (session_id: string, session_type: NIMSessionType) => void

Type declaration

▸ (session_id, session_type): void

Parameters
Name Type
session_id string
session_type NIMSessionType
Returns

void

Defined in

ts/nim_def/session_def.ts:92


UpdateStickTopSessionNotifyCallback

Ƭ UpdateStickTopSessionNotifyCallback: (result: string) => void

Type declaration

▸ (result): void

Parameters
Name Type
result string
Returns

void

Defined in

ts/nim_def/session_def.ts:93


QueryStickTopSessionListCallback

Ƭ QueryStickTopSessionListCallback: (res_code: NIMResCode, result: string) => void

Type declaration

▸ (res_code, result): void

Parameters
Name Type
res_code NIMResCode
result string
Returns

void

Defined in

ts/nim_def/session_def.ts:94


SetToStickTopSessionCallback

Ƭ SetToStickTopSessionCallback: (res_code: NIMResCode, result: string) => void

Type declaration

▸ (res_code, result): void

Parameters
Name Type
res_code NIMResCode
result string
Returns

void

Defined in

ts/nim_def/session_def.ts:95


UpdateStickTopSessionCallback

Ƭ UpdateStickTopSessionCallback: (res_code: NIMResCode, result: string) => void

Type declaration

▸ (res_code, result): void

Parameters
Name Type
res_code NIMResCode
result string
Returns

void

Defined in

ts/nim_def/session_def.ts:96


CancelToStickTopSessionCallback

Ƭ CancelToStickTopSessionCallback: (res_code: NIMResCode, session_id: string, session_type: NIMSessionType) => void

Type declaration

▸ (res_code, session_id, session_type): void

Parameters
Name Type
res_code NIMResCode
session_id string
session_type NIMSessionType
Returns

void

Defined in

ts/nim_def/session_def.ts:97


QueryHasmoreRoammsgCallback

Ƭ QueryHasmoreRoammsgCallback: (res_code: NIMResCode, info: SessionRoamMsgHasMoreTagInfo) => void

Type declaration

▸ (res_code, info): void

Parameters
Name Type
res_code NIMResCode
info SessionRoamMsgHasMoreTagInfo
Returns

void

Defined in

ts/nim_def/session_def.ts:98


QueryAllHasmoreRoammsgCallback

Ƭ QueryAllHasmoreRoammsgCallback: (res_code: NIMResCode, info_list: SessionRoamMsgHasMoreTagInfo[]) => void

Type declaration

▸ (res_code, info_list): void

Parameters
Name Type
res_code NIMResCode
info_list SessionRoamMsgHasMoreTagInfo[]
Returns

void

Defined in

ts/nim_def/session_def.ts:99


UpdateHasmoreRoammsgCallback

Ƭ UpdateHasmoreRoammsgCallback: (res_code: NIMResCode) => void

Type declaration

▸ (res_code): void

Parameters
Name Type
res_code NIMResCode
Returns

void

Defined in

ts/nim_def/session_def.ts:100


DeleteHasmoreRoammsgCallback

Ƭ DeleteHasmoreRoammsgCallback: (res_code: NIMResCode) => void

Type declaration

▸ (res_code): void

Parameters
Name Type
res_code NIMResCode
Returns

void

Defined in

ts/nim_def/session_def.ts:101


SetMultiUnreadCountZeroAsyncCallback

Ƭ SetMultiUnreadCountZeroAsyncCallback: (res_code: NIMResCode, data_list: SessionData[], unread_count: number) => void

Type declaration

▸ (res_code, data_list, unread_count): void

Parameters
Name Type
res_code NIMResCode
data_list SessionData[]
unread_count number
Returns

void

Defined in

ts/nim_def/session_def.ts:102

Clone this wiki locally