# Print output for @column tags ?> NetworkStatsManager.UsageCallback - Android SDK | Android Developers

Most visited


Recently visited


NetworkStatsManager.UsageCallback

public static abstract class NetworkStatsManager.UsageCallback
extends Object

java.lang.Object
   ↳ android.app.usage.NetworkStatsManager.UsageCallback


Base class for usage callbacks. Should be extended by applications wanting notifications.

Summary


Public constructors

UsageCallback()

Public methods

abstract void onThresholdReached(int networkType, String subscriberId)

Called when data usage has reached the given threshold.

Inherited methods

Public constructors


UsageCallback

public UsageCallback ()

Public methods


onThresholdReached

public abstract void onThresholdReached (int networkType, 
                String subscriberId)

Called when data usage has reached the given threshold.

Parameters
networkType int

subscriberId String

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.