Class DebugOverlayColors
-
- All Implemented Interfaces:
@Serializable() public final class DebugOverlayColorsConfiguration 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegermaskColorprivate final IntegerautoMaskColorprivate final IntegerunmaskColorprivate final Floatalpha
-
Constructor Summary
Constructors Constructor Description DebugOverlayColors(Integer maskColor, Integer autoMaskColor, Integer unmaskColor, Float alpha)
-
Method Summary
Modifier and Type Method Description final IntegergetMaskColor()Color for masked regions (TEXT_ENTRY and explicitly sensitive views). final IntegergetAutoMaskColor()Color for auto-masked regions (text, images, web views). final IntegergetUnmaskColor()Color for unmask regions (addSafeView areas). final FloatgetAlpha()Opacity of the debug overlay from 0.0 (fully transparent) to 1.0 (fully opaque). -
-
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.
-
-
-
-