Preparing search index...
The search index is not available
Cumulocity Web SDK - v1018.0.259
Cumulocity Web SDK - v1018.0.259
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
:
ArrayBuffer
|
Stream
|
Buffer
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Parameters
pluginName:
string
pluginFile:
ArrayBuffer
|
Stream
|
Buffer
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
delete
delete
(
binaryOrId
:
string
|
number
|
IApplicationBinary
)
:
Promise
<
IResult
<
null
>
>
Parameters
binaryOrId:
string
|
number
|
IApplicationBinary
Returns
Promise
<
IResult
<
null
>
>
download
Archive
download
Archive
(
binaryId
:
string
|
number
)
:
Promise
<
IFetchResponse
>
Parameters
binaryId:
string
|
number
Returns
Promise
<
IFetchResponse
>
getXMLHttp
Response
getXMLHttp
Response
(
xhr
:
any
)
:
Promise
<
IApplication
>
Parameters
xhr:
any
Returns
Promise
<
IApplication
>
list
list
(
filter
?:
any
)
:
Promise
<
IResultList
<
IApplicationBinary
>
>
Parameters
Optional
filter:
any
Returns
Promise
<
IResultList
<
IApplicationBinary
>
>
list
Plugins
list
Plugins
(
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
remove
Plugin
remove
Plugin
(
pluginName
:
string
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Parameters
pluginName:
string
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
update
Files
update
Files
(
files
:
{
contents
:
ArrayBuffer
|
Stream
|
Buffer
;
path
:
string
;
}
[]
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Parameters
files:
{
contents
:
ArrayBuffer
|
Stream
|
Buffer
;
path
:
string
;
}
[]
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
upload
upload
(
binary
:
Blob
|
ArrayBuffer
|
Stream
|
Buffer
|
File
, fileName
?:
string
, uploadParamsOverride
?:
IUploadParamsOverride
)
:
Promise
<
IResult
<
IApplicationBinary
>
>
Parameters
binary:
Blob
|
ArrayBuffer
|
Stream
|
Buffer
|
File
Optional
fileName:
string
Optional
uploadParamsOverride:
IUploadParamsOverride
Returns
Promise
<
IResult
<
IApplicationBinary
>
>
upload
With
Progress
Xhr
upload
With
Progress
Xhr
(
binary
:
Blob
|
ArrayBuffer
|
Stream
|
Buffer
|
File
, onProgress
:
any
, fileName
?:
string
, uploadParamsOverride
?:
IUploadParamsOverride
)
:
XMLHttpRequest
Parameters
binary:
Blob
|
ArrayBuffer
|
Stream
|
Buffer
|
File
onProgress:
any
Optional
fileName:
string
Optional
uploadParamsOverride:
IUploadParamsOverride
Returns
XMLHttpRequest
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
Cumulocity
Web SDK -
v1018.0.259
Application
Binary
Service
constructor
add
Plugin
delete
download
Archive
getXMLHttp
Response
list
list
Plugins
remove
Plugin
update
Files
upload
upload
With
Progress
Xhr