AppJankStats.WidgetState Property

Definition

Returns the widget's state that was reported for this stat, or #WIDGET_STATE_UNSPECIFIED if no value was passed in.

public string WidgetState { [Android.Runtime.Register("getWidgetState", "()Ljava/lang/String;", "", ApiSince=36)] [Android.Runtime.StringDef(Fields=new System.String[] { "WidgetStateUnspecified", "WidgetStateNone", "WidgetStateScrolling", "WidgetStateFlinging", "WidgetStateSwiping", "WidgetStateDragging", "WidgetStateZooming", "WidgetStateAnimating", "WidgetStatePlayback", "WidgetStateTapping", "WidgetStatePredictiveBack" }, Type="Android.App.Jank.AppJankStats")] get; }
[<get: Android.Runtime.Register("getWidgetState", "()Ljava/lang/String;", "", ApiSince=36)>]
[<get: Android.Runtime.StringDef(Fields=new System.String[] { "WidgetStateUnspecified", "WidgetStateNone", "WidgetStateScrolling", "WidgetStateFlinging", "WidgetStateSwiping", "WidgetStateDragging", "WidgetStateZooming", "WidgetStateAnimating", "WidgetStatePlayback", "WidgetStateTapping", "WidgetStatePredictiveBack" }, Type="Android.App.Jank.AppJankStats")>]
member this.WidgetState : string

Property Value

the widget's state that was reported for this stat. This value cannot be null.

Attributes

Remarks

Returns the widget's state that was reported for this stat, or #WIDGET_STATE_UNSPECIFIED if no value was passed in.

Java documentation for android.app.jank.AppJankStats.getWidgetState().

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