Interface: ActivityResultsEvent
Dispatched when new data is created by an activity.
Remarks
Event contains all the data created by an activity, with separate properties for the newly created data. ActivityResultsEvent inherits "data" from ActivityResults, which contains the complete data up to this point (both new and existing data).
Extends
ActivityEvent
.ActivityResults
Properties
activityConfiguration
activityConfiguration:
unknown
Parameters under which the activity was run.
Inherited from
ActivityResults.activityConfiguration
Source
activityConfigurationSchema
activityConfigurationSchema:
JsonSchema
JSON schema describing the activity parameters.
Inherited from
ActivityResults.activityConfigurationSchema
Source
activityMetrics?
optional
activityMetrics:ActivityMetric
[]
Metrics describing internal application performance.
Inherited from
ActivityResults.activityMetrics
Source
data
data:
ActivityKeyValueData
All the data created by the activity.
Inherited from
ActivityResults.data
Source
dataSchema
dataSchema:
JsonSchema
JSON schema describing the structure of the data.
Inherited from
ActivityResults.dataSchema
Source
handled?
optional
handled:boolean
Has the event been taken care of by the listener and not be dispatched to other targets?
Inherited from
Source
iso8601Timestamp
iso8601Timestamp:
string
ISO 8601 timestamp of the event. Specifically, value of "new Date().toISOString()" executed on the device when the ActivityResultsEvent occurred.
Overrides
ActivityEvent
.iso8601Timestamp
Source
newData
newData:
ActivityKeyValueData
New data created by the activity, which dispatched this event
Source
newDataSchema
newDataSchema:
JsonSchema
JSON schema describing the new data
Source
sequence?
optional
sequence:number
Sequence number of event.
Remarks
Sequence number is guaranteed to reflect order of events, but not necessarily contiguous, e.g., could be 1, 2, 5, 10, 11, 24.
Inherited from
Source
target
target:
Activity
The object on which the event occurred. If the event has gone through serialization, the string will be the object's UUID (if an M2Node
) or class name.
Inherited from
Source
timestamp
timestamp:
number
Timestamp of the event, from performance.now()
Inherited from
Source
type
type:
string
Type of event.