Preparing search index...
The search index is not available
Cumulocity Web SDK - v1021.3.1
Cumulocity Web SDK
ApplicationBinaryService
Class ApplicationBinaryService
Hierarchy (
view full
)
Service
<
IApplicationBinary
>
ApplicationBinaryService
Index
Constructors
constructor
Methods
add
Plugin
delete
download
Archive
getXMLHttp
Response
list
list
Plugins
remove
Plugin
update
Files
upload
upload
Application
Version
upload
With
Progress
Xhr
Constructors
constructor
new
Application
Binary
Service
(
client
,
applicationOrId
)
:
ApplicationBinaryService
Parameters
client
:
IFetchClient
applicationOrId
:
string
|
number
|
IApplication
Returns
ApplicationBinaryService
Methods
add
Plugin
add
Plugin
(
pluginName
,
pluginFile
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Parameters
pluginName
:
string
pluginFile
:
Stream
|
ArrayBuffer
|
Buffer
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
delete
delete
(
binaryOrId
)
:
Promise
<
IResult
<
null
>
>
Parameters
binaryOrId
:
string
|
number
|
IApplicationBinary
Returns
Promise
<
IResult
<
null
>
>
download
Archive
download
Archive
(
binaryId
)
:
Promise
<
IFetchResponse
>
Parameters
binaryId
:
string
|
number
Returns
Promise
<
IFetchResponse
>
getXMLHttp
Response
getXMLHttp
Response
(
xhr
)
:
Promise
<
IApplication
>
Parameters
xhr
:
any
Returns
Promise
<
IApplication
>
list
list
(
filter
?
)
:
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
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Parameters
pluginName
:
string
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
update
Files
update
Files
(
files
)
:
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
Parameters
files
:
{
contents
:
|
string
|
Stream
|
Blob
|
ArrayBuffer
|
Buffer
;
path
:
string
;
}
[]
Returns
Promise
<
{
data
:
any
;
res
:
IFetchResponse
;
}
>
upload
upload
(
binary
,
fileName
?
,
uploadParamsOverride
?
)
:
Promise
<
IResult
<
IApplicationBinary
>
>
Parameters
binary
:
|
Stream
|
Blob
|
ArrayBuffer
|
Buffer
|
File
Optional
fileName
:
string
Optional
uploadParamsOverride
:
IUploadParamsOverride
Returns
Promise
<
IResult
<
IApplicationBinary
>
>
upload
Application
Version
upload
Application
Version
(
archive
,
version
,
tags
?
)
:
Promise
<
IResult
<
IApplicationBinary
>
>
Parameters
archive
:
File
version
:
string
tags
:
string
[]
= []
Returns
Promise
<
IResult
<
IApplicationBinary
>
>
upload
With
Progress
Xhr
upload
With
Progress
Xhr
(
binary
,
onProgress
,
fileName
?
,
uploadParamsOverride
?
)
:
XMLHttpRequest
Parameters
binary
:
|
Stream
|
Blob
|
ArrayBuffer
|
Buffer
|
File
onProgress
:
any
Optional
fileName
:
string
Optional
uploadParamsOverride
:
IUploadParamsOverride
Returns
XMLHttpRequest
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Plugin
delete
download
Archive
getXMLHttp
Response
list
list
Plugins
remove
Plugin
update
Files
upload
upload
Application
Version
upload
With
Progress
Xhr
Cumulocity Web SDK - v1021.3.1
Loading...