# sensitiveContent

Common/AllAndroid/JVM

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/ui/sensitiveContent.modifier#(androidx.compose.ui.Modifier).sensitiveContent(kotlin.Boolean)(isContentSensitive: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` 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. | Cmn |

## Functions

### Modifier.sensitiveContent

Cmn Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/SensitiveContent.kt+function:sensitiveContent) Added in [1.8.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.8.0)

```
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: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html = true` | whether the content is sensitive or not. Defaults to true. |