Google 致力于为黑人社区推动种族平等。查看具体举措

androidx.compose.ui.text.platform

Extension functions summary

For AnnotatedString
SpannableString

Convert an AnnotatedString into SpannableString for Android text to speech support.

Extension functions

toAccessibilitySpannableString

fun AnnotatedString.toAccessibilitySpannableString(
    density: Density,
    resourceLoader: Font.ResourceLoader
): SpannableString

Convert an AnnotatedString into SpannableString for Android text to speech support.