@flexem/cordova-plugin-ezviz

2.0.0 • Public • Published

Cordova Plugin For Hikvision

Using

Add the plugin

cordova plugin add cordova-plugin-ezviz

Ionic2 usage

Create a typing file: ezviz.d.ts

declare var ezviz: any;

In your page file:

ezviz.openCamera('appkey','accesstoken', 'sn', 0, '', (ok) => {
    console.log(ok);
}, (error) => {
    console.log(error); 
});

Install iOS or Android platform

cordova platform add android

Run the code

cordova run android --device

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @flexem/cordova-plugin-ezviz

      Weekly Downloads

      2

      Version

      2.0.0

      License

      MIT

      Unpacked Size

      2.07 MB

      Total Files

      247

      Last publish

      Collaborators

      • flexem-npm
      • flexemdev
      • yoli799480165
      • songkaige
      • wwbgo
      • alecliu