Search
Preparing search index...
The search index is not available
NIM
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
NIM
src/CloudStorageServiceInterface
CloudStorageServiceInterface
Interface CloudStorageServiceInterface
调用方式:
nim
.
cloudStorage
.
uploadFile
(
options
)
Hierarchy
CloudStorageServiceInterface
Index
Methods
get
File
Token
get
Origin
Url
upload
File
Methods
get
File
Token
get
File
Token
(
options
:
GetFileTokenOptions
)
:
Promise
<
void
|
GetFileTokenResult
>
获取文件鉴权的token
Parameters
options:
GetFileTokenOptions
Returns
Promise
<
void
|
GetFileTokenResult
>
get
Origin
Url
get
Origin
Url
(
options
:
string
)
:
Promise
<
string
>
短链转长链
Parameters
options:
string
Returns
Promise
<
string
>
upload
File
upload
File
(
options
:
IUploadFileOptions
)
:
Promise
<
UploadFileResult
>
上传文件
Parameters
options:
IUploadFileOptions
Returns
Promise
<
UploadFileResult
>
Modules
src/
Cloud
Session
Service
Interface
src/
Cloud
Storage
Service
Interface
src/
Event
Service
Interface
src/
Friend
Service
Interface
src/
Misc
Service
Interface
src/
Msg
Extend
Service
Interface
src/
Msg
Log
Service
Interface
src/
Msg
Service
Interface
src/NIMInterface
src/
Pass
Through
Service
Interface
src/
Plugin
Service
Interface
src/
Session
Service
Interface
src/
Signaling
Service
Interface
src/
Super
Team
Service
Interface
src/
System
Message
Service
Interface
src/
Team
Service
Interface
src/
User
Service
Interface
src/types
Cloud
Storage
Service
Interface
get
File
Token
get
Origin
Url
upload
File
调用方式: