Neurotic Pumpkin Murderer

    @red-mobile/cordova-plugin-ambient-light

    1.0.0 • Public • Published

    cordova-plugin-ambient-light

    Description

    This plugin can be use to get intensity level that falls in to the device. The API supports to one time call and repeated calls which will directed to callback functions.

    Installation

    cordova plugin add @red-mobile/cordova-plugin-ambient-light
    

    Uninstall

    cordova plugin remove @red-mobile/cordova-plugin-ambient-light
    

    Supported Platforms

    • Android

    Methods

    • navigator.ambientlight.getCurrentLight
    • navigator.ambientlight.watchLight
    • navigator.ambientlight.clearWatch

    Install

    npm i @red-mobile/cordova-plugin-ambient-light

    DownloadsWeekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    15.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • okhiroyuki