Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 472 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 472 Bytes

cordova-plugin-trafficmonitor

Cordova plugin to operate and get TrafficStats of Android

How to Use?

Use the plugin with Cordova CLI (v5.x or above):

cordova plugin add cordova-plugin-trafficmonitor

When use with PhoneGap Build, write following line in your config.xml:

<gap:plugin name="cordova-plugin-trafficmonitor" source="npm" />

API Overview

Methods

showStats(successCallback, failureCallback);