Skip to content

nim_def.subscribe_event_def

Zvicii edited this page Oct 24, 2022 · 4 revisions

Module: nim_def/subscribe_event_def

Table of contents

Enumerations

Interfaces

Type Aliases

Type Aliases

PushEventCallback

Ƭ PushEventCallback: (rescode: NIMResCode, result: EventData) => void

Type declaration

▸ (rescode, result): void

Parameters
Name Type
rescode NIMResCode
result EventData
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:80


BatchPushEventCallback

Ƭ BatchPushEventCallback: (rescode: NIMResCode, result: EventData[]) => void

Type declaration

▸ (rescode, result): void

Parameters
Name Type
rescode NIMResCode
result EventData[]
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:81


PublishEventCallback

Ƭ PublishEventCallback: (rescode: NIMResCode, eventType: number, result: EventData) => void

Type declaration

▸ (rescode, eventType, result): void

Parameters
Name Type
rescode NIMResCode
eventType number
result EventData
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:82


SubscribeEventCallback

Ƭ SubscribeEventCallback: (rescode: NIMResCode, eventType: number, failedList: string[]) => void

Type declaration

▸ (rescode, eventType, failedList): void

Parameters
Name Type
rescode NIMResCode
eventType number
failedList string[]
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:83


UnSubscribeEventCallback

Ƭ UnSubscribeEventCallback: (rescode: NIMResCode, eventType: number, failedList: string[]) => void

Type declaration

▸ (rescode, eventType, failedList): void

Parameters
Name Type
rescode NIMResCode
eventType number
failedList string[]
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:84


BatchUnSubscribeEventCallback

Ƭ BatchUnSubscribeEventCallback: (rescode: NIMResCode, eventType: number) => void

Type declaration

▸ (rescode, eventType): void

Parameters
Name Type
rescode NIMResCode
eventType number
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:85


QuerySubscribeEventCallback

Ƭ QuerySubscribeEventCallback: (rescode: NIMResCode, eventType: number, result: EventSubscribeData[]) => void

Type declaration

▸ (rescode, eventType, result): void

Parameters
Name Type
rescode NIMResCode
eventType number
result EventSubscribeData[]
Returns

void

Defined in

ts/nim_def/subscribe_event_def.ts:86

Clone this wiki locally