The Developer Preview for Android 11 is now available; test it out and share your feedback.

AccessibilityAction

data class AccessibilityAction<T : Function<Unit>>
kotlin.Any
   ↳ androidx.ui.semantics.AccessibilityAction

Summary

Public constructors

<init>(label: String?, action: T)

Public methods

Int

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

T

String?

Public constructors

<init>

AccessibilityAction(
    label: String?,
    action: T)

Public methods

hashCode

fun hashCode(): Int

Properties

action

val action: T

label

val label: String?