-
Notifications
You must be signed in to change notification settings - Fork 2
nim_def.global_def.NIMGlobalAPI
Zvicii edited this page Jul 8, 2022
·
3 revisions
nim_def/global_def.NIMGlobalAPI
- InitEventHandlers
- SetExceptionReportCallback
- SetProxy
- DetectProxy
- GetSDKCachedFileInfoAsync
- DeleteSDKCachedFileAsync
- SDKFeedbackAsync
- UploadSDKLog
▸ InitEventHandlers(): void
void
▸ SetExceptionReportCallback(jsonExtension
, cb
): void
Name | Type |
---|---|
jsonExtension |
string |
cb |
ExceptionCallback |
void
▸ SetProxy(type
, host
, port
, user
, password
): void
Name | Type |
---|---|
type |
NIMProxyType |
host |
string |
port |
number |
user |
string |
password |
string |
void
▸ DetectProxy(type
, host
, port
, user
, password
, cb
): void
Name | Type |
---|---|
type |
NIMProxyType |
host |
string |
port |
number |
user |
string |
password |
string |
cb |
DetectProxyCallback |
void
▸ GetSDKCachedFileInfoAsync(loginId
, fileType
, endTimestamp
, jsonExtension
, cb
): void
Name | Type |
---|---|
loginId |
string |
fileType |
NIMCachedFileType |
endTimestamp |
number |
jsonExtension |
string |
cb |
GetCachedFileInfoCallback |
void
▸ DeleteSDKCachedFileAsync(loginId
, fileType
, endTimestamp
, jsonExtension
, cb
): void
Name | Type |
---|---|
loginId |
string |
fileType |
NIMCachedFileType |
endTimestamp |
number |
jsonExtension |
string |
cb |
DeleteCachedFileCallback |
void
▸ SDKFeedbackAsync(url
, jsonExtension
, cb
): void
Name | Type |
---|---|
url |
string |
jsonExtension |
string |
cb |
SDKFeedbackCallback |
void
▸ UploadSDKLog(feedbackStr
, cb
): void
Name | Type |
---|---|
feedbackStr |
string |
cb |
UploadSDKLogCallback |
void
- chatroom/chatroom
- chatroom_def/chatroom_def
- nim/client
- nim/data_sync
- nim/friend
- nim/global
- nim/msglog
- nim/nos
- nim/online_session
- nim/pass_through_proxy
- nim/plugin
- nim/session
- nim/subscribe_event
- nim/super_team
- nim/sysmsg
- nim/talk
- nim/talkex
- nim/team
- nim/tool
- nim/user
- nim_def/client_def
- nim_def/data_sync_def
- nim_def/doc_trans_def
- nim_def/friend_def
- nim_def/global_def
- nim_def/msglog_def
- nim_def/nos_def
- nim_def/online_session_def
- nim_def/pass_through_proxy_def
- nim_def/plugin_def
- nim_def/session_def
- nim_def/subscribe_event_def
- nim_def/super_team_def
- nim_def/sysmsg_def
- nim_def/talk_def
- nim_def/talkex_def
- nim_def/team_def
- nim_def/tool_def
- nim_def/user_def
- node-nim
- qchat/attachment
- qchat/channel
- qchat/channel_category
- qchat/instance
- qchat/message
- qchat/role
- qchat/server
- qchat/system_notification
- qchat_def/attachment_def
- qchat_def/channel_def
- qchat_def/instance_def
- qchat_def/message_def
- qchat_def/public_def
- qchat_def/role_def
- qchat_def/server_def
- qchat_def/system_notification_def