Share via


KinectSensor.getConfig Function

Kinect for Windows 1.8

Retrieves the current sensor configuration.

Syntax

getConfig(successCallback, errorCallback);

Parameters

  • successCallback
    Type: Function

    Callback function to call if this method succeeds. This function should have the parameters listed in the following table.

    Parameter name Type Description
    configData Object Contains the name/value pairs that represent the current sensor configuration.
  • errorCallback
    Type: Function

    Optional. Callback function to call if this method fails. This function should have the parameters listed in the following table.

    Parameter name Type Description
    statusText String The reason that the method failed.

Requirements

Library: Kinect-1.8.0.js

See Also

Reference

KinectSensor Interface
Core Components