Compartilhar via


AccessibilityNodeInfo.Refresh Method

Definition

Refreshes this info with the latest state of the view it represents.

[Android.Runtime.Register("refresh", "()Z", "GetRefreshHandler")]
public virtual bool Refresh ();
[<Android.Runtime.Register("refresh", "()Z", "GetRefreshHandler")>]
abstract member Refresh : unit -> bool
override this.Refresh : unit -> bool

Returns

true if the refresh succeeded. false if the View represented by this node is no longer in the view tree (and thus this node is obsolete).

Attributes

Remarks

Refreshes this info with the latest state of the view it represents.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.refresh().

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