Skip to content

nim_def.global_def.NIMGlobalAPI

Zvicii edited this page Nov 22, 2022 · 3 revisions

Interface: NIMGlobalAPI

nim_def/global_def.NIMGlobalAPI

Table of contents

Methods

Methods

InitEventHandlers

InitEventHandlers(): void

Returns

void

Defined in

ts/nim_def/global_def.ts:63


SetExceptionReportCallback

SetExceptionReportCallback(jsonExtension, cb): void

Parameters

Name Type
jsonExtension string
cb null | ExceptionCallback

Returns

void

Defined in

ts/nim_def/global_def.ts:65


SetProxy

SetProxy(type, host, port, user, password): void

Parameters

Name Type
type NIMProxyType
host string
port number
user string
password string

Returns

void

Defined in

ts/nim_def/global_def.ts:67


DetectProxy

DetectProxy(type, host, port, user, password, cb): void

Parameters

Name Type
type NIMProxyType
host string
port number
user string
password string
cb null | DetectProxyCallback

Returns

void

Defined in

ts/nim_def/global_def.ts:69


GetSDKCachedFileInfoAsync

GetSDKCachedFileInfoAsync(loginId, fileType, endTimestamp, jsonExtension, cb): void

Parameters

Name Type
loginId string
fileType NIMCachedFileType
endTimestamp number
jsonExtension string
cb null | GetCachedFileInfoCallback

Returns

void

Defined in

ts/nim_def/global_def.ts:71


DeleteSDKCachedFileAsync

DeleteSDKCachedFileAsync(loginId, fileType, endTimestamp, jsonExtension, cb): void

Parameters

Name Type
loginId string
fileType NIMCachedFileType
endTimestamp number
jsonExtension string
cb null | DeleteCachedFileCallback

Returns

void

Defined in

ts/nim_def/global_def.ts:79


SDKFeedbackAsync

SDKFeedbackAsync(url, jsonExtension, cb): void

Parameters

Name Type
url string
jsonExtension string
cb null | SDKFeedbackCallback

Returns

void

Defined in

ts/nim_def/global_def.ts:87


UploadSDKLog

UploadSDKLog(feedbackStr, cb): void

Parameters

Name Type
feedbackStr string
cb null | UploadSDKLogCallback

Returns

void

Defined in

ts/nim_def/global_def.ts:89

Clone this wiki locally