AccessibilityNodeInfo.RemoveChild AccessibilityNodeInfo.RemoveChild Method

Definition

Overloads

RemoveChild(View, Int32) RemoveChild(View, Int32)

Removes a virtual child which is a descendant of the given root.

RemoveChild(View) RemoveChild(View)

Removes a child.

RemoveChild(View, Int32) RemoveChild(View, Int32)

Removes a virtual child which is a descendant of the given root.

[Android.Runtime.Register("removeChild", "(Landroid/view/View;I)Z", "GetRemoveChild_Landroid_view_View_IHandler", ApiSince=21)]
public virtual bool RemoveChild (Android.Views.View root, int virtualDescendantId);
abstract member RemoveChild : Android.Views.View * int -> bool
override this.RemoveChild : Android.Views.View * int -> bool

Parameters

root
View View

The root of the virtual subtree.

virtualDescendantId
Int32 Int32

The id of the virtual child.

Returns

Remarks

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.

RemoveChild(View) RemoveChild(View)

Removes a child.

[Android.Runtime.Register("removeChild", "(Landroid/view/View;)Z", "GetRemoveChild_Landroid_view_View_Handler", ApiSince=21)]
public virtual bool RemoveChild (Android.Views.View child);
abstract member RemoveChild : Android.Views.View -> bool
override this.RemoveChild : Android.Views.View -> bool

Parameters

child
View View

The child.

Returns

Exceptions

If called from an AccessibilityService.

Remarks

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