# 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