Skip to content

Commit

Permalink
chore: doc the new throttleDelay flutter config (#10132)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto authored Dec 13, 2024
1 parent d4cb26b commit 6bc9a29
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ config.sessionReplayConfig.maskAllTexts = false;
/// Enable masking of all images.
/// Default: true.
config.sessionReplayConfig.maskAllImages = false;
/// Debouncer delay used to reduce the number of snapshots captured and reduce performance impact.
/// Throttling delay used to reduce the number of snapshots captured and reduce performance impact.
/// This is used for capturing the view as a screenshot.
/// The lower the number, the more snapshots will be captured but higher the performance impact.
/// Experimental support.
/// Defaults to 1s.
config.sessionReplayConfig.debouncerDelay = const Duration(milliseconds: 1000);
/// Ps: it was called [debouncerDelay] until version 4.7.1
config.sessionReplayConfig.throttleDelay = const Duration(milliseconds: 1000);
```

## Limitations
Expand Down

0 comments on commit 6bc9a29

Please sign in to comment.