1.0.3 • Published 5 years ago

cordova-plugin-networkspeed v1.0.3

Weekly downloads
6
License
Apache 2.0
Repository
github
Last release
5 years ago

cordova-plugin-networkspeed

Cordova plugin to get network speed (Android)

API

The plugin exposes the following method:

networkspeed.getNetworkSpeed(success, error);

Parameters:

  • success: success callback which returns network speed in KB/s
  • error: error callback

Installation

The plugin can be installed via Cordova-CLI and is publicly available on NPM.

Execute from the projects root folder:

$ cordova plugin add cordova-plugin-networkspeed

Or install a specific version:

$ cordova plugin add cordova-plugin-networkspeed@VERSION

Or install the latest head version:

$ cordova plugin add https://github.com/swayangjit/cordova-plugin-networkspeed.git

Or install from local source:

$ cordova plugin add --nofetch --nosave --link