AccessibilityNodeInfo.GetChild 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.
Overloads
GetChild(Int32, Int32) |
Get the child at given index. |
GetChild(Int32) |
Get the child at given index. |
GetChild(Int32, Int32)
Get the child at given index.
[Android.Runtime.Register("getChild", "(II)Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetChild_IIHandler", ApiSince=33)]
public virtual Android.Views.Accessibility.AccessibilityNodeInfo? GetChild (int index, int prefetchingStrategy);
[<Android.Runtime.Register("getChild", "(II)Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetChild_IIHandler", ApiSince=33)>]
abstract member GetChild : int * int -> Android.Views.Accessibility.AccessibilityNodeInfo
override this.GetChild : int * int -> Android.Views.Accessibility.AccessibilityNodeInfo
Parameters
- index
- Int32
The child index.
- prefetchingStrategy
- Int32
the prefetching strategy.
Returns
The child node.
- Attributes
Remarks
Get the child at given index.
See #getParent(int)
for a description of prefetching.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.getChild(int, int)
.
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
GetChild(Int32)
Get the child at given index.
[Android.Runtime.Register("getChild", "(I)Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetChild_IHandler")]
public virtual Android.Views.Accessibility.AccessibilityNodeInfo? GetChild (int index);
[<Android.Runtime.Register("getChild", "(I)Landroid/view/accessibility/AccessibilityNodeInfo;", "GetGetChild_IHandler")>]
abstract member GetChild : int -> Android.Views.Accessibility.AccessibilityNodeInfo
override this.GetChild : int -> Android.Views.Accessibility.AccessibilityNodeInfo
Parameters
- index
- Int32
The child index.
Returns
The child node.
- Attributes
Exceptions
If called outside of an AccessibilityService.
Remarks
Get the child at given index.
Java documentation for android.view.accessibility.AccessibilityNodeInfo.getChild(int)
.
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.