Skip to main content
Version: v1.0

addEventListener

Register sensor callback events

Each sensor is used in a different way, please refer to the specific sensor usage

Type​

(eventId: EventId, callback: (event: Event) => void) => void

Parameters​

EventId​

Reference to the specific sensor

Event​

Reference to a specific sensor