SENSOR TECHNOLOGY

SensorTechnology

The sensor technology

Describes the technology used to communicate with the sensor.

Since:

API Level 3.2.0

Name Value Since Description
SENSOR_TECHNOLOGY_ANT 0

API Level 3.2.0

ANT Sensor

SENSOR_TECHNOLOGY_BLE 1

API Level 3.2.0

Bluetooth Low Energy Sensor

SENSOR_TECHNOLOGY_ONBOARD 2

API Level 3.2.0

Onboard Sensor

Is this usefull for enabling/disabling onboard sensor (wrist) or chest band? I tried with:

                        Sensor.disableSensorType(Sensor.SENSOR_HEARTRATE);
                        Sensor.setEnabledSensors([Sensor.SENSOR_ONBOARD_HEARTRATE]);
for disabling/enabling wirst sensor and chest band sensor but the wirst is not going to be disabled. 
i put these 2 row of code into the initialize function of my app and i tried to swap screens to let the command be executed but no way