
Allows you to monitor Network traffic and get statistics on network usage.
Downloads
119
Views
366
Reactions
3
Docs
| DataMobile | number | Data type : Mobile |
| DataAll | number | Data type : All ( Wifi, Mobile ) |
| FormattedTraffic | boolean | Human Readable Output - Kb,Mb,Gb |
| ReturnBits |
boolean| Return in Bits instead of Bytes |
Initialize Traffic Measurer
Rendering block preview…
| type | number | Use type property |
Get Downloaded Data in Bytes by type.You can also get bits by setting the property.
Rendering block preview…
returnType : text
| type | number | Use type property |
| formatted | boolean | If want to return formatted output |
Get Upload Packets. Use the type property to get specific information.
Rendering block preview…
returnType : text
| type | number | Use type property |
Convert bytes into readable data ( Supports bits too, eg. will be converted to Megabits intead of Megabytes.
Rendering block preview…
returnType : text
| bytes | number | bytes value |
| useBits | boolean | If you want to return bits |
Get Download Packets. Use the type property to get specific information.
Rendering block preview…
returnType : text
| type | number | Use type property |
Get Uploaded Data in Bytes by type. Set the formatted to get formatted output like Kbps,Mbps. You can also use bits by setting the property.
Rendering block preview…
returnType : text
| type | number | Use type property |
| formatted | boolean | If you want to return formatted value |
Pauses the Traffic Measurer ( Useful for activity onPause )
Rendering block preview…
Stops the Traffic Measurer ( Will throw error if it is not Initialized at the first place.
Rendering block preview…
Resumes the Traffic Measurer ( Useful for activity onResume )
Rendering block preview…
Upload/Download ( Current data traffic/usage )
The output can be configured in FormattedTraffic property if you want to get bytes instead of formatted string.
Rendering block preview…
| upload | text | Bits/Bytes/Formatted |
| download | text | Bits/Bytes/Formatted |
Releases
com.jaxparrow.networkusage.aix
18 KB
Oct 14, 2021
AIX package
Release notes not provided.