Search
Preparing search index...
The search index is not available
Storage SDK Reference Guide - v0.3.16
Options
All
Public
Public/Protected
All
Inherited
Menu
Storage SDK Reference Guide - v0.3.16
<internal>
Uploader
Class Uploader
Hierarchy
Uploader
Index
Constructors
constructor
Methods
on
Error
on
Progress
on
Success
upload
Constructors
constructor
new
Uploader
(
appId
:
number
, appAddress
:
string
, provider
:
any
, api
:
AxiosInstance
, lock
:
Mutex
, debug
:
boolean
)
:
Uploader
Parameters
appId:
number
appAddress:
string
provider:
any
api:
AxiosInstance
lock:
Mutex
debug:
boolean
Returns
Uploader
Methods
on
Error
on
Error
(
err
:
any
)
:
void
Parameters
err:
any
Returns
void
on
Progress
on
Progress
(
bytesUploaded
:
number
, bytesTotal
:
number
)
:
void
Parameters
bytesUploaded:
number
bytesTotal:
number
Returns
void
on
Success
on
Success
(
)
:
void
Returns
void
upload
upload
(
fileRaw
:
File
, params
?:
UploadParams
)
:
Promise
<
string
>
Parameters
fileRaw:
File
params:
UploadParams
= ...
Returns
Promise
<
string
>
Exports
<internal>
Uploader
constructor
on
Error
on
Progress
on
Success
upload
Generated using
TypeDoc
, the 11/9/2022 at 3:32:28 PM