Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

AccessibilityClickableSpanCompat

public final class AccessibilityClickableSpanCompat
extends ClickableSpan

java.lang.Object
   ↳ android.text.style.CharacterStyle
     ↳ android.text.style.ClickableSpan
       ↳ androidx.core.view.accessibility.AccessibilityClickableSpanCompat


ClickableSpan cannot be parceled, but accessibility services need to be able to cause their callback handlers to be called. This class serves as a placeholder for the real spans. Calling onClick on these from an accessibility service will result in onClick being called on the represented span in the app process.

Summary

Public methods

void onClick(View unused)

Perform the click from an accessibility service.

Inherited methods

Public methods

onClick

public void onClick (View unused)

Perform the click from an accessibility service.

Parameters
unused View: This argument is required by the superclass but is unused. The real view will be determined by the AccessibilityNodeInfo.