-
Notifications
You must be signed in to change notification settings - Fork 2
nim_def.nos_def.NIMNOSAPI
nim_def/nos_def.NIMNOSAPI
- InitEventHandlers
- InitConfig
- FetchMedia
- StopFetchMedia
- UploadResource
- StopUploadResource
- DownloadResource
- StopDownloadResource
- SafeURLToOriginURL
- SetSupportQuickTrans
▸ InitEventHandlers(): void
void
ts/nim_def/nos_def.ts:71
▸ InitConfig(param
, cb
): void
Name | Type |
---|---|
param |
InitNosConfigParam |
cb |
null | InitNosResultCallback
|
void
ts/nim_def/nos_def.ts:73
▸ FetchMedia(msg
, jsonExtension
, res_cb
, prg_cb
, speed_cb
, transfer_cb
): boolean
Name | Type |
---|---|
msg |
IMMessage |
jsonExtension |
string |
res_cb |
null | DownloadMediaCallback
|
prg_cb |
null | ProgressCallback
|
speed_cb |
null | SpeedCallback
|
transfer_cb |
null | TransferInfoCallback
|
boolean
ts/nim_def/nos_def.ts:75
▸ StopFetchMedia(msg
): boolean
Name | Type |
---|---|
msg |
IMMessage |
boolean
ts/nim_def/nos_def.ts:84
▸ UploadResource(local_file
, tag
, param
, res_cb
, prg_cb
, speed_cb
, transfer_cb
): boolean
Name | Type |
---|---|
local_file |
string |
tag |
string |
param |
NOSParams |
res_cb |
null | UploadMediaExCallback
|
prg_cb |
null | ProgressExCallback
|
speed_cb |
null | SpeedCallback
|
transfer_cb |
null | TransferInfoCallback
|
boolean
ts/nim_def/nos_def.ts:86
▸ StopUploadResource(task_id
, jsonExtension
): boolean
Name | Type |
---|---|
task_id |
string |
jsonExtension |
string |
boolean
ts/nim_def/nos_def.ts:96
▸ DownloadResource(nosUrl
, param
, res_cb
, prg_cb
, speed_cb
, transfer_cb
): boolean
Name | Type |
---|---|
nosUrl |
string |
param |
NOSParams |
res_cb |
null | DownloadMediaExCallback
|
prg_cb |
null | ProgressExCallback
|
speed_cb |
null | SpeedCallback
|
transfer_cb |
null | TransferInfoCallback
|
boolean
ts/nim_def/nos_def.ts:98
▸ StopDownloadResource(task_id
, jsonExtension
): boolean
Name | Type |
---|---|
task_id |
string |
jsonExtension |
string |
boolean
ts/nim_def/nos_def.ts:107
▸ SafeURLToOriginURL(safe_url
, cb
, jsonExtension
): void
Name | Type |
---|---|
safe_url |
string |
cb |
null | SafeURLToOriginURLCallback
|
jsonExtension |
string |
void
ts/nim_def/nos_def.ts:109
▸ SetSupportQuickTrans(quick
): void
Name | Type |
---|---|
quick |
boolean |
void
ts/nim_def/nos_def.ts:111
- 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