@red-mobile/cordova-plugin-proximity
v1.2.5
Published
This plugin provides access to the device's (IR) proximity sensor.
Downloads
34
Maintainers
Readme
cordova-plugin-proximity
This plugin provides access to the device's (IR) proximity sensor.
At this moment this plugin is implemented only for Android!
Installation
cordova plugin add @red-mobile/cordva-plugin-proximity
uninstall
cordova plugin remove @red-mobile/cordva-plugin-proximity
Supported Platforms
- Android
Methods
- navigator.proximity.getCurrentProximity
- navigator.proximity.watchProximity
- navigator.proximity.clearWatch