belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
AccessibilityDelegateCompat
public
class
AccessibilityDelegateCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.view.AccessibilityDelegateCompat |
![]() |
Helper for accessing View.AccessibilityDelegate
.
Note: On platform versions prior to
API 23
, delegate methods on
views in the android.widget.*
package are called before
host methods. This prevents certain properties such as class name from
being modified by overriding
onInitializeAccessibilityNodeInfo(View, AccessibilityNodeInfoCompat)
,
as any changes will be overwritten by the host class.
Starting in API 23
, delegate
methods are called after host methods, which all properties to be
modified without being overwritten by the host class.
Summary
Public constructors | |
---|---|
AccessibilityDelegateCompat()
Creates a new instance. |
Public methods | |
---|---|
boolean
|
dispatchPopulateAccessibilityEvent(View host, AccessibilityEvent event)
Dispatches an |
AccessibilityNodeProviderCompat
|
getAccessibilityNodeProvider(View host)
Gets the provider for managing a virtual view hierarchy rooted at this View
and reported to |
void
|
onInitializeAccessibilityEvent(View host, AccessibilityEvent event)
Initializes an |
void
|
onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info)
Initializes an |
void
|
onPopulateAccessibilityEvent(View host, AccessibilityEvent event)
Gives a chance to the host View to populate the accessibility event with its text content. |
boolean
|
onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event)
Called when a child of the host View has requested sending an
|
boolean
|
performAccessibilityAction(View host, int action, Bundle args)
Performs the specified accessibility action on the view. |
void
|