Compose Modifier

sensitiveContent

This modifier hints that the composable renders sensitive content (i.e.

sensitiveContent

Source set: Common
public fun Modifier.sensitiveContent(isContentSensitive: Boolean = true): Modifier

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

isContentSensitive whether the content is sensitive or not. Defaults to true.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: