BeforeScreenshotCallback typedef
BeforeScreenshotCallback =
FutureOr<bool> Function(SentryEvent event, {Hint? hint})
Callback being executed in ScreenshotEventProcessor
, deciding if a
screenshot should be recorded and attached.
Implementation
typedef BeforeScreenshotCallback = FutureOr<bool> Function(
SentryEvent event, {
Hint? hint,
});