Contents
Display Legacy Contents

 Print
    Sensor Disable    
Disables a specified sensor, if it was previously enabled with SensorEnable.

Parameters

Sensor Type <unquoted string>

The type of sensor to disable. The available sensor types are:
 
  • Accelerometer
  • Activity
  • Ambient Temperature
  • Atmospheric Pressure
  • Gyroscope
  • Light
  • Magnetic
  • Orientation
  • Pedometer
  • Proximity
  • Relative Humidity

     
  • Avoid leaving active sensors if they are not necessary to save battery.

See also
Samples

 
 
Updated: 4/8/2016 5:59 PM