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.
|
Property |
Description |
Type |
Value |
|---|---|---|---|
|
|
Specifies the type of notification for which to register. This is always |
string |
Possible values:
|
|
|
Specifies the sensor channel to listen for data. Retrieve this object using the For more information about the object, see section Sensor channel information. |
object |
See section Sensor channel information. |