TextInputLayout.AccessibilityDelegate

public static class TextInputLayout.AccessibilityDelegate
extends AccessibilityDelegateCompat

java.lang.Object
   ↳ androidx.core.view.AccessibilityDelegateCompat
     ↳ com.google.android.material.textfield.TextInputLayout.AccessibilityDelegate


An TextInputLayout.AccessibilityDelegate intended to be set on an EditText or TextInputEditText with TextInputLayout.setTextInputAccessibilityDelegate(TextInputLayout.AccessibilityDelegate) to provide attributes for accessibility that are managed by TextInputLayout.

Summary

Public constructors

AccessibilityDelegate(TextInputLayout layout)

Public methods

void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfoCompat info)
void onPopulateAccessibilityEvent(View host, AccessibilityEvent event)

Inherited methods

Public constructors

AccessibilityDelegate

public AccessibilityDelegate (TextInputLayout layout)

Parameters
layout TextInputLayout

Public methods

onInitializeAccessibilityNodeInfo

public void onInitializeAccessibilityNodeInfo (View host, 
                AccessibilityNodeInfoCompat info)

Parameters
host View

info AccessibilityNodeInfoCompat

onPopulateAccessibilityEvent

public void onPopulateAccessibilityEvent (View host, 
                AccessibilityEvent event)

Parameters
host View

event AccessibilityEvent