SentryReplayOptions class

Configuration of the replay feature.

Constructors

SentryReplayOptions()

Properties

hashCode → int
The hash code for this object.
no setterinherited
networkCaptureBodies ↔ bool
Whether request/response bodies are captured for URLs matching networkDetailAllowUrls.
getter/setter pair
networkDetailAllowUrls → List<String>
List of strings/regex controlling for which outgoing requests made with SentryHttpClient headers/bodies are captured, to be shown alongside network spans in Session Replay.
final
networkDetailDenyUrls → List<String>
List of strings/regex excluded from networkDetailAllowUrls.
final
networkRequestHeaders → List<String>
Additional request header names to capture for URLs matching networkDetailAllowUrls.
final
networkResponseHeaders → List<String>
Additional response header names to capture for URLs matching networkDetailAllowUrls.
final
onErrorSampleRate ↔ double?
A percentage of errors that will be accompanied by a 30 seconds replay. The value needs to be >= 0.0 and <= 1.0. Specifying 0 means none, 1.0 means 100 %. Defaults to null (disabled).
getter/setter pair
quality ↔ SentryReplayQuality
Defines the image quality of the session replay. The higher the quality, the more accurate the replay will be, but also more data to transfer and more CPU load, defaults to MEDIUM.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionSampleRate ↔ double?
A percentage of sessions in which a replay will be created. The value needs to be >= 0.0 and <= 1.0. Specifying 0 means none, 1.0 means 100 %. Defaults to null (disabled).
getter/setter pair

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