Skip to content

Commit

Permalink
mark new replay APIs as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Oct 9, 2024
1 parent 3101e0a commit 1fe6f3f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions flutter/lib/src/replay/masking_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class SentryMaskingConfig {
}
}

@experimental
enum SentryMaskingDecision {
/// Mask the widget and its children
mask,
Expand Down
2 changes: 2 additions & 0 deletions flutter/lib/src/screenshot/sentry_mask_widget.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';

/// Wrapping your widget in [SentryMask] will mask it when capturing replays.
@experimental
class SentryMask extends StatelessWidget {
final Widget child;

Expand Down
2 changes: 2 additions & 0 deletions flutter/lib/src/screenshot/sentry_unmask_widget.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';

/// Wrapping your widget in [SentryUnmask] will unmask it when capturing replays.
@experimental
class SentryUnmask extends StatelessWidget {
final Widget child;

Expand Down
1 change: 1 addition & 0 deletions flutter/lib/src/sentry_replay_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'screenshot/sentry_mask_widget.dart';
import 'screenshot/sentry_unmask_widget.dart';

/// Configuration of the experimental replay feature.
@experimental
class SentryReplayOptions {
double? _sessionSampleRate;

Expand Down

0 comments on commit 1fe6f3f

Please sign in to comment.