Language

NetworkStatsManager.UsageCallback Constructors

Definition

Overloads

Name Description
NetworkStatsManager.UsageCallback()

Initializes the base class for a data usage threshold callback.

NetworkStatsManager.UsageCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

NetworkStatsManager.UsageCallback()

Initializes the base class for a data usage threshold callback.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public UsageCallback();
Attributes

Remarks

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

NetworkStatsManager.UsageCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected UsageCallback(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Usage.NetworkStatsManager.UsageCallback : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Usage.NetworkStatsManager.UsageCallback

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies how the runtime handles the JNI reference, including its release and peer registration.

Remarks

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