Titanium.App.proximityState

Property of Titanium.App.
Platform Since
iPhone 0.1
iPad 0.1
Permission: read-only

Summary

State of the device's proximity sensor.

Type

Boolean

Description

Set to true if the proximity sensor is close to the user.

If the proximityDetection is false, the value of this property is undefined.

See the proximity event for more information.