Search
Preparing search index...
The search index is not available
Cumulocity Web SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
EventBinaryService
Class EventBinaryService
Hierarchy
Service
<
IEventBinary
>
EventBinaryService
Index
Constructors
constructor
Methods
delete
download
list
upload
Constructors
constructor
new
Event
Binary
Service
(
client
:
IFetchClient
, realtime
?:
Realtime
)
:
EventBinaryService
Parameters
client:
IFetchClient
Optional
realtime:
Realtime
Returns
EventBinaryService
Methods
delete
delete
(
entityOrId
:
string
|
number
|
IEvent
)
:
Object
Parameters
entityOrId:
string
|
number
|
IEvent
Returns
Object
Response wrapped in
IResult
download
download
(
entityOrId
:
string
|
number
|
IEvent
)
:
Promise
<
IFetchResponse
>
Parameters
entityOrId:
string
|
number
|
IEvent
Returns
Promise
<
IFetchResponse
>
Response wrapped in
IFetchResponse
list
list
(
filter
?:
object
)
:
Promise
<
IResultList
<
IEventBinary
>
>
Parameters
Default value
filter:
object
= {}
Returns
Promise
<
IResultList
<
IEventBinary
>
>
upload
upload
(
file
:
Stream
|
Buffer
|
File
|
Blob
, entityOrId
:
string
|
number
|
IEvent
)
:
Promise
<
IResult
<
IEventBinary
>
>
Parameters
file:
Stream
|
Buffer
|
File
|
Blob
entityOrId:
string
|
number
|
IEvent
Returns
Promise
<
IResult
<
IEventBinary
>
>
Response wrapped in
IResult
Globals
Event
Binary
Service
constructor
delete
download
list
upload
Generated using
TypeDoc