AccessibilityNodeInfo.RefreshWithExtraData(String, Bundle) Method

Definition

Refreshes this info with the latest state of the view it represents, and request new data be added by the View.

[Android.Runtime.Register("refreshWithExtraData", "(Ljava/lang/String;Landroid/os/Bundle;)Z", "GetRefreshWithExtraData_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual bool RefreshWithExtraData (string? extraDataKey, Android.OS.Bundle? args);
[<Android.Runtime.Register("refreshWithExtraData", "(Ljava/lang/String;Landroid/os/Bundle;)Z", "GetRefreshWithExtraData_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member RefreshWithExtraData : string * Android.OS.Bundle -> bool
override this.RefreshWithExtraData : string * Android.OS.Bundle -> bool

Parameters

extraDataKey
String

The extra data requested. Data that must be requested with this mechanism is generally expensive to retrieve, so should only be requested when needed. See #EXTRA_DATA_RENDERING_INFO_KEY, #EXTRA_DATA_TEXT_CHARACTER_LOCATION_KEY, #getAvailableExtraData() and #getExtraRenderingInfo().

args
Bundle

A bundle of arguments for the request. These depend on the particular request.

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, and request new data be added by the View.

Java documentation for android.view.accessibility.AccessibilityNodeInfo.refreshWithExtraData(java.lang.String, android.os.Bundle).

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