com.apama.cumulocity
Event Event
Event data.
Sent by the transport when a device or other application creates an Event, or updates an Event. Requires SubscribeMeasurements or configuration property subscribeToAllMeasurements. Sent to the cumulocity.measurements channel.
Examples: Event("21","c8y_EntranceEvent","12346082",1464364483.396,"Entrance event triggered.",{"distance":any(float,317)})
Event("22","com_cumulocity_events_TamperEvent","12345",1464364483.396,"Tamper sensor triggered",{"history":{}})
Constant Summary |
constant string | CHANNEL := "CumulocityIoT"
The channel for sending updates/ new Events to. |
Member Summary |
string | id
Unique identifier for this Event. |
string | type
The type of the Cumulocity event. |
string | source
Identifier of the source of the event. |
float | time
Timestamp of the event. |
string | text
Text or message of the Event. |
dictionary<string, any > | params
Any other properties available on the Event . |
CHANNEL
constant string CHANNEL := "CumulocityIoT"
The channel for sending updates/ new Events to.
id
string id
Unique identifier for this Event.
Supply as empty if creating a new Event.
params
dictionary<string, any > params
Any other properties available on the Event .
source
string source
Identifier of the source of the event.
text
string text
Text or message of the Event.
time
float time
Timestamp of the event.
type
string type
The type of the Cumulocity event.