Class DebugOverlayColors

  • All Implemented Interfaces:

    @Serializable() 
    public final class DebugOverlayColors
    
                        

    Configuration for debug overlay colors.

    Use this class to customize which mask types are displayed and their colors in the debug overlay. Set a color to null to hide that mask type.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getMaskColor() Color for masked regions (TEXT_ENTRY and explicitly sensitive views).
      final Integer getAutoMaskColor() Color for auto-masked regions (text, images, web views).
      final Integer getUnmaskColor() Color for unmask regions (addSafeView areas).
      final Float getAlpha() Opacity of the debug overlay from 0.0 (fully transparent) to 1.0 (fully opaque).
      • Methods inherited from class java.lang.Object

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

      • getMaskColor

         final Integer getMaskColor()

        Color for masked regions (TEXT_ENTRY and explicitly sensitive views). When null, masked regions are not shown in the debug overlay. Default: Red.

      • getAutoMaskColor

         final Integer getAutoMaskColor()

        Color for auto-masked regions (text, images, web views). When null, auto-masked regions are not shown in the debug overlay. Default: Orange.

      • getUnmaskColor

         final Integer getUnmaskColor()

        Color for unmask regions (addSafeView areas). Shows areas that are explicitly excluded from auto-masking. Default: Green.

      • getAlpha

         final Float getAlpha()

        Opacity of the debug overlay from 0.0 (fully transparent) to 1.0 (fully opaque). Default: 0.5.