Skip to content

nim_def.global_def.NIMGlobalAPI

Zvicii edited this page Jul 8, 2022 · 3 revisions

Interface: NIMGlobalAPI

nim_def/global_def.NIMGlobalAPI

Table of contents

Methods

Methods

InitEventHandlers

InitEventHandlers(): void

Returns

void


SetExceptionReportCallback

SetExceptionReportCallback(jsonExtension, cb): void

Parameters

Name Type
jsonExtension string
cb ExceptionCallback

Returns

void


SetProxy

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

Parameters

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

Returns

void


DetectProxy

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

Parameters

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

Returns

void


GetSDKCachedFileInfoAsync

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

Parameters

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

Returns

void


DeleteSDKCachedFileAsync

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

Parameters

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

Returns

void


SDKFeedbackAsync

SDKFeedbackAsync(url, jsonExtension, cb): void

Parameters

Name Type
url string
jsonExtension string
cb SDKFeedbackCallback

Returns

void


UploadSDKLog

UploadSDKLog(feedbackStr, cb): void

Parameters

Name Type
feedbackStr string
cb UploadSDKLogCallback

Returns

void

Clone this wiki locally