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
  • Location

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

See also
Samples

 
 
Updated: 3/15/2021 5:20 PM