Search
Preparing search index...
The search index is not available
Cumulocity Web SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
ApplicationBinaryService
Class ApplicationBinaryService
Hierarchy
Service
<
IApplicationBinary
>
ApplicationBinaryService
Index
Constructors
constructor
Methods
add
Plugin
delete
download
Archive
getXMLHttp
Response
list
list
Plugins
remove
Plugin
update
Files
upload
upload
With
Progress
Xhr
Constructors
constructor
new
Application
Binary
Service
(
client
:
IFetchClient
, applicationOrId
:
string
|
number
|
IApplication
)
:
ApplicationBinaryService
Parameters
client:
IFetchClient
applicationOrId:
string
|
number
|
IApplication
Returns
ApplicationBinaryService
Methods
add
Plugin
add
Plugin
(
pluginName
:
string
, pluginFile
:
Stream
|
Buffer
|
ArrayBuffer
)
:
Object
Parameters
pluginName:
string
pluginFile:
Stream
|
Buffer
|
ArrayBuffer
Returns
Object
delete
delete
(
binaryOrId
:
string
|
number
|
IApplicationBinary
)
:
Object
Parameters
binaryOrId:
string
|
number
|
IApplicationBinary
Returns
Object
download
Archive
download
Archive
(
binaryId
:
number
|
string
)
:
Promise
<
IFetchResponse
>
Parameters
binaryId:
number
|
string
Returns
Promise
<
IFetchResponse
>
getXMLHttp
Response
getXMLHttp
Response
(
xhr
:
any
)
:
Promise
<
IApplication
>
Parameters
xhr:
any
Returns
Promise
<
IApplication
>
list
list
(
filter
?:
any
)
:
Object
Parameters
Optional
filter:
any
Returns
Object
list
Plugins
list
Plugins
(
)
:
Object
Returns
Object
remove
Plugin
remove
Plugin
(
pluginName
:
string
)
:
Object
Parameters
pluginName:
string
Returns
Object
update
Files
update
Files
(
files
:
Array
<
object
>
)
:
Object
Parameters
files:
Array
<
object
>
Returns
Object
upload
upload
(
binary
:
ArrayBuffer
|
Stream
|
Buffer
|
File
|
Blob
, fileName
?:
string
, uploadParamsOverride
?:
IUploadParamsOverride
)
:
Promise
<
IResult
<
IApplicationBinary
>
>
Parameters
binary:
ArrayBuffer
|
Stream
|
Buffer
|
File
|
Blob
Optional
fileName:
string
Optional
uploadParamsOverride:
IUploadParamsOverride
Returns
Promise
<
IResult
<
IApplicationBinary
>
>
upload
With
Progress
Xhr
upload
With
Progress
Xhr
(
binary
:
ArrayBuffer
|
Stream
|
Buffer
|
File
|
Blob
, onProgress
:
any
, fileName
?:
string
, uploadParamsOverride
?:
IUploadParamsOverride
)
:
XMLHttpRequest
Parameters
binary:
ArrayBuffer
|
Stream
|
Buffer
|
File
|
Blob
onProgress:
any
Optional
fileName:
string
Optional
uploadParamsOverride:
IUploadParamsOverride
Returns
XMLHttpRequest
Globals
Application
Binary
Service
constructor
add
Plugin
delete
download
Archive
getXMLHttp
Response
list
list
Plugins
remove
Plugin
update
Files
upload
upload
With
Progress
Xhr
Generated using
TypeDoc