cordova-plugin-networkspeed

1.0.3 • Public • Published

cordova-plugin-networkspeed

npm version License

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

Package Sidebar

Install

npm i cordova-plugin-networkspeed

Weekly Downloads

21

Version

1.0.3

License

Apache 2.0

Unpacked Size

20.9 kB

Total Files

11

Last publish

Collaborators

  • swayangjit