Data usage
An action block that gets the network data usage statistics.
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 the app to get data usage for, default is for all apps.
- Subscription id — id of subscription (SIM) to get data usage for, default is the “default subscription”.
- Network name — SSID of Wi-Fi network to get data usage for, default is all networks.
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.