Partager via


NetworkStats.Bucket.State Property

Definition

Usage state.

public virtual Android.App.Usage.NetworkUsageState State { [Android.Runtime.Register("getState", "()I", "GetGetStateHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getState", "()I", "GetGetStateHandler", ApiSince=23)>]
member this.State : Android.App.Usage.NetworkUsageState

Property Value

Usage state.

Attributes

Remarks

Usage state. One of the following values:

<ul> <li>#STATE_ALL</li> <li>#STATE_DEFAULT</li> <li>#STATE_FOREGROUND</li> </ul>

Java documentation for android.app.usage.NetworkStats.Bucket.getState().

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