Back to project page trafficcop.
The source code is released under:
Apache License
If you think the Android project trafficcop listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.willowtreeapps.trafficcop; //from w w w .j a va 2 s. c o m /** * A listener that will be called when data usage reaches a threshold. */ public interface DataUsageAlertListener { /** * Called when data usage reaches a threshold. * * @param threshold the threshold reached * @param dataUsage the data used */ void alertThreshold(Threshold threshold, DataUsage dataUsage); }