次の方法で共有


View.AddExtraDataToAccessibilityNodeInfo Method

Definition

Adds extra data to an AccessibilityNodeInfo based on an explicit request for the additional data.

[Android.Runtime.Register("addExtraDataToAccessibilityNodeInfo", "(Landroid/view/accessibility/AccessibilityNodeInfo;Ljava/lang/String;Landroid/os/Bundle;)V", "GetAddExtraDataToAccessibilityNodeInfo_Landroid_view_accessibility_AccessibilityNodeInfo_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual void AddExtraDataToAccessibilityNodeInfo (Android.Views.Accessibility.AccessibilityNodeInfo info, string extraDataKey, Android.OS.Bundle? arguments);
[<Android.Runtime.Register("addExtraDataToAccessibilityNodeInfo", "(Landroid/view/accessibility/AccessibilityNodeInfo;Ljava/lang/String;Landroid/os/Bundle;)V", "GetAddExtraDataToAccessibilityNodeInfo_Landroid_view_accessibility_AccessibilityNodeInfo_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member AddExtraDataToAccessibilityNodeInfo : Android.Views.Accessibility.AccessibilityNodeInfo * string * Android.OS.Bundle -> unit
override this.AddExtraDataToAccessibilityNodeInfo : Android.Views.Accessibility.AccessibilityNodeInfo * string * Android.OS.Bundle -> unit

Parameters

info
AccessibilityNodeInfo

The info to which to add the extra data. Never null.

extraDataKey
String

A key specifying the type of extra data to add to the info. The extra data should be added to the Bundle returned by the info's AccessibilityNodeInfo#getExtras method. Never null.

arguments
Bundle

A Bundle holding any arguments relevant for this request. May be null if the service provided no arguments.

Attributes

Remarks

Adds extra data to an AccessibilityNodeInfo based on an explicit request for the additional data.

This method only needs overloading if the node is marked as having extra data available.

Java documentation for android.view.View.addExtraDataToAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo, 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