SessionReplayMasking class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- maskAllImagesForTesting → bool
-
no setter
- maskAllTextsForTesting → bool
-
no setter
-
textsToMaskForTesting
→ List<
RegExp> -
no setter
Static Methods
-
applyOptions(
{bool maskAllTexts = false, bool maskAllImages = false, double captureScale = 1.0, List< String> ? textsToMask}) → Future<void> -
Applies masking configuration. Called internally by
CxFlutterPlugin.initializeSessionReplayfrom CXSessionReplayOptions — you normally do not call this directly. Set masking on the options object instead, so there is exactly one place that controls it. -
collectAllMaskRectsSync(
) → List< Rect> - Returns all currently-active mask rects in logical pixels.
-
collectImageRegionsForTesting(
) → List< Map< String, dynamic> > -
collectTextRegionsForTesting(
{List< RegExp> ? patterns}) → List<Map< String, dynamic> > -
initialize(
) → void -
Registers the Dart masking handler so the native SDK can request
pre-masked frames. Call once at app startup (e.g. in
main()). -
resetForTesting(
) → void -
shouldSkipCaptureForTesting(
{required int inFlight, required int msSinceLastFrame, required int consecutiveSkips}) → bool - Exposes the capture-pacing decision for testing.
Constants
- methodChannel → const MethodChannel