Listener on the playback state of the animation, it contains the current time of the playback (in milliseconds) and a flag that describes if the animation is currently playing
Stringified array of AnimationPlaybackType
Listener on async errors. Async errors are thrown at times not directly tied to SDK calls. e.g. Getting an action error triggered after a late event.
If this is an ActionAsyncError
:
id
refers to the action idevent
refers to the event that triggered the actioneventChain
refers the chain of events that lead to the action, first
item being the closest parent.error triggered asynchronously
Listener on authentication expiration. The callback should resolve to the refreshed authentication. If the listener is not defined, the http requests from the connector will return 401 with no refetch of assets.
When this emits it means either:
Stringified object of AuthRefreshRequest
Listener on connector events, this listener will get triggered when a connector emits one of those events
stateChanged - this event will be triggered by connector states: loading, loaded, running, ready, error
Stringified object of ConnectorEvent
Listener on the state of the currently selected layout, if its properties are changed, this listener will get triggered with the new properties
Stringified object of LayoutPropertiesType
Listener on the unit of the currently active layout. If you switch between layouts with different units, this listener will get triggered with the new unit If you switch the unit of a layout this listener will get triggered with the new unit
Stringified object of MeasurementUnit
Generated using TypeDoc
The SubscriberController is responsible for all listeners which can influence the application-state from outside. Callbacks inside this controller can be set by
window.SDK.subscriber.{method-name}