androidx.compose.ui

sensitiveContentSince 1.8

Function · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

This modifier hints that the composable renders sensitive content (i.e. username, password, credit card etc) on the screen, and the content should be protected during screen share in supported environments.

Parameters

fun Modifier.sensitiveContent(
    isContentSensitive: Boolean = true,
): Modifier

isContentSensitive: BooleanOptional

Default: true

whether the content is sensitive or not. Defaults to true.

Library docs

This modifier hints that the composable renders sensitive content (i.e. username, password, credit card etc) on the screen, and the content should be protected during screen share in supported environments.