No description, website, or topics provided.
Java JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
src/android
www
.fetch.json
CONTRIBUTING.md
LICENSE
NOTICE
README.md
RELEASENOTES.md
plugin.xml

README.md

com.grumpysailor.cordova.cardboard-magnet-sensor

This plugin provides access to the magnet sensor used on Google Cardboard

Installation

cordova plugin add https://github.com/GrumpySailor/cordova-plugin-cardboard-magnet-sensor.git

Supported Platforms

  • Android

Methods

  • navigator.magnetsensor.magnetTrigger(onSuccess, onFail)
  • navigator.magnetsensor.stopSensor