AccessibilityNodeProvider.AddExtraDataToAccessibilityNodeInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds extra data to an AccessibilityNodeInfo
based on an explicit request for the
additional data.
[Android.Runtime.Register("addExtraDataToAccessibilityNodeInfo", "(ILandroid/view/accessibility/AccessibilityNodeInfo;Ljava/lang/String;Landroid/os/Bundle;)V", "GetAddExtraDataToAccessibilityNodeInfo_ILandroid_view_accessibility_AccessibilityNodeInfo_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual void AddExtraDataToAccessibilityNodeInfo (int virtualViewId, Android.Views.Accessibility.AccessibilityNodeInfo? info, string? extraDataKey, Android.OS.Bundle? arguments);
[<Android.Runtime.Register("addExtraDataToAccessibilityNodeInfo", "(ILandroid/view/accessibility/AccessibilityNodeInfo;Ljava/lang/String;Landroid/os/Bundle;)V", "GetAddExtraDataToAccessibilityNodeInfo_ILandroid_view_accessibility_AccessibilityNodeInfo_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member AddExtraDataToAccessibilityNodeInfo : int * Android.Views.Accessibility.AccessibilityNodeInfo * string * Android.OS.Bundle -> unit
override this.AddExtraDataToAccessibilityNodeInfo : int * Android.Views.Accessibility.AccessibilityNodeInfo * string * Android.OS.Bundle -> unit
Parameters
- virtualViewId
- Int32
The virtual view id used to create the node
The info to which to add the extra data
- 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.
- arguments
- Bundle
A Bundle
holding any arguments relevant for this request.
- Attributes
Remarks
Adds extra data to an AccessibilityNodeInfo
based on an explicit request for the additional data.
This method only needs to be implemented if a virtual view offers to provide additional data.
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.