Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swayangjit/cordova-plugin-networkspeed
Cordova plugin to get network speed (Android)
https://github.com/swayangjit/cordova-plugin-networkspeed
android cordova-android-plugin cordova-plugin cordova-plugin-networkspeed internet internetspeed network networkspeed speed
Last synced: about 2 months ago
JSON representation
Cordova plugin to get network speed (Android)
- Host: GitHub
- URL: https://github.com/swayangjit/cordova-plugin-networkspeed
- Owner: swayangjit
- License: apache-2.0
- Created: 2019-07-27T17:02:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T10:45:13.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T00:22:51.296Z (2 months ago)
- Topics: android, cordova-android-plugin, cordova-plugin, cordova-plugin-networkspeed, internet, internetspeed, network, networkspeed, speed
- Language: Java
- Size: 233 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `cordova-plugin-networkspeed`
> Cordova plugin to get network speed (Android)
## API
The plugin exposes the following method:
```javascript
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](https://cordova.apache.org/docs/en/dev/guide/cli/index.html#The%20Command-line%20Interface) and is publicly available on [NPM](https://www.npmjs.com/package/cordova-plugin-networkspeed).
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