Share via


KinectSensor.addEventHandler Function

Kinect for Windows 1.8

Adds the specified event handler.

Syntax

addEventHandler(handler);

Parameters

  • handler
    Type: Function

    Callback function to call when an event is ready to be processed. This function should have the parameters listed in the following table.

    Parameter name Type Description
    event Object Event object to process.

Requirements

Library: Kinect-1.8.0.js

See Also

Reference

KinectSensor Interface
Core Components