다음을 통해 공유


IViewParent.NotifySubtreeAccessibilityStateChanged Method

Definition

Notifies a view parent that the accessibility state of one of its descendants has changed and that the structure of the subtree is different.

[Android.Runtime.Register("notifySubtreeAccessibilityStateChanged", "(Landroid/view/View;Landroid/view/View;I)V", "GetNotifySubtreeAccessibilityStateChanged_Landroid_view_View_Landroid_view_View_IHandler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void NotifySubtreeAccessibilityStateChanged (Android.Views.View child, Android.Views.View source, Android.Views.Accessibility.ContentChangeTypes changeType);
[<Android.Runtime.Register("notifySubtreeAccessibilityStateChanged", "(Landroid/view/View;Landroid/view/View;I)V", "GetNotifySubtreeAccessibilityStateChanged_Landroid_view_View_Landroid_view_View_IHandler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member NotifySubtreeAccessibilityStateChanged : Android.Views.View * Android.Views.View * Android.Views.Accessibility.ContentChangeTypes -> unit

Parameters

child
View

The direct child whose subtree has changed.

source
View

The descendant view that changed. May not be null.

changeType
ContentChangeTypes

A bit mask of the types of changes that occurred. One or more of: <ul> <li>AccessibilityEvent#CONTENT_CHANGE_TYPE_CONTENT_DESCRIPTION<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_STATE_DESCRIPTION<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_SUBTREE<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_TEXT<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_UNDEFINED<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_DRAG_STARTED<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_DRAG_CANCELLED<li>AccessibilityEvent#CONTENT_CHANGE_TYPE_DRAG_DROPPED</ul>

Attributes

Remarks

Notifies a view parent that the accessibility state of one of its descendants has changed and that the structure of the subtree is different.

Java documentation for android.view.ViewParent.notifySubtreeAccessibilityStateChanged(android.view.View, android.view.View, 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