Class ViewExtensionsKt
-
- All Implemented Interfaces:
public final class ViewExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static ViewmpReplaySensitive(View $self, Boolean isSensitive)Marks a View as sensitive or safe for masking in session replay screenshots. -
-
Method Detail
-
mpReplaySensitive
final static View mpReplaySensitive(View $self, Boolean isSensitive)
Marks a View as sensitive or safe for masking in session replay screenshots.
Use this to indicate whether the given View contains sensitive information that should be hidden when a screenshot is captured during session replay.
- Parameters:
isSensitive-truemarks the view as sensitive — it will be masked in screenshots.falsemarks the view as safe — it will not be masked.
- Returns:
The same View, allowing method chaining.
Example usage:
val editText = findViewById<EditText>(R.id.cardNumberInput) editText.mpReplaySensitive(true)
-
-
-
-