Criteria for searching sensor channels

The criteria object specifies the criterion for searching sensor channels.

The criteria object has a single property: SearchCriterion. This is described in the following table.

Table: Criteria object properties

Property

Description

Type

Value

criteria.SearchCriterion

Specifies the criterion for searching sensor channels.

The possible values describe types of sensor data by which to search for channels. For example, if this property is set to "Orientation", FindSensorChannel returns all channels that provide orientation data, that is, data from an orientation sensor.

string

Possible values:

  • "All"

  • "AccelerometerAxis"

  • "AccelerometerDoubleTapping"

  • "Orientation"

  • "Rotation"