Data usage
An action block that gets the network data usage.
The fiber will proceed immediately without pause.
This block gets the data usage recorded and stored by Android, see device Data usage settings.
Note! This feature require a rooted device and isn’t officially supported by Android, may not work on all devices.
Input arguments
- Network interface — network interface, default is Mobile.
- Minimum timestamp — unix timestamp of the earliest data usage to get, default is first recorded usage.
- Maximum timestamp — unix timestamp of the latest data usage to get, default is current time.
- Package — package name of an app, to only get its data usage.
Output variables
- Bytes transferred — variable to assign the bytes transferred, sum of up and downloaded.
- Bytes downloaded — variable to assign the bytes downloaded.
- Bytes uploaded — variable to assign the bytes uploaded.