Criteria for receiving sensor data

The criteria object specifies the sensor channel to listen for data.

The criteria object has two main properties: ListeningType and ChannelInfoMap. These are described in the following table.

Table: Criteria object properties

Property

Description

Type

Value

criteria.ListeningType

Specifies the type of notification for which to register. This is always "ChannelData".

string

Possible values:

  • "ChannelData"

criteria.ChannelInfoMap

Specifies the sensor channel to listen for data.

Retrieve this object using the FindSensorChannel method.

For more information about the object, see section Sensor channel information.

object

See section Sensor channel information.