Freigeben über


NetworkStatsManager.UsageCallback.OnThresholdReached Method

Definition

Called when data usage has reached the given threshold.

[Android.Runtime.Register("onThresholdReached", "(ILjava/lang/String;)V", "GetOnThresholdReached_ILjava_lang_String_Handler", ApiSince=24)]
public abstract void OnThresholdReached (Android.Net.ConnectivityType networkType, string? subscriberId);
[<Android.Runtime.Register("onThresholdReached", "(ILjava/lang/String;)V", "GetOnThresholdReached_ILjava_lang_String_Handler", ApiSince=24)>]
abstract member OnThresholdReached : Android.Net.ConnectivityType * string -> unit

Parameters

networkType
ConnectivityType
subscriberId
String
Attributes

Remarks

Java documentation for android.app.usage.NetworkStatsManager.UsageCallback.onThresholdReached(int, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to