get_state


Description:

[ Version ( since = "0.1.6" ) ]
public SensorState get_state ()

Gets the sensor state.

Parameters:

this

a Sensor instance.

Returns:

A SensorState, e.g. cd_sensor_state_idle