Class ViewExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static View mpReplaySensitive(View $self, Boolean isSensitive) Marks a View as sensitive or safe for masking in session replay screenshots.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 -
        • true marks the view as sensitive — it will be masked in screenshots.

        • false marks the view as safe — it will not be masked.

        If this method is not called on a view, the library will fall back to its default behavior, which masks views based on the configuration provided during initialization.
        Returns:

        The same View, allowing method chaining.

        Example usage:

        val editText = findViewById<EditText>(R.id.cardNumberInput)
        editText.mpReplaySensitive(true)