Contents
Display Legacy Contents

 Print
    Proximity Sensor  
This event is triggered when the proximity sensor reports a new value.

     
  • The values of the sensor are stored in the variables specified in the call made to SensorEnable action in mm.
  • Many devices only have basic proximity sensors, and report only 2 distinct values, like 0mm/1mm, or 0mm/10mm. It is normally used to determine if the device has some object very close to it like the users head when talking on the phone.              

See also
Samples
 

Updated
: 3/21/2018 5:30 PM