SentryReplayOptions

data class SentryReplayOptions(var sessionSampleRate: Double? = null, var onErrorSampleRate: Double? = null, var maskAllText: Boolean = true, var maskAllImages: Boolean = true, var quality: SentryReplayOptions.Quality = Quality.MEDIUM)

Configuration options for session replay.

Constructors

Link copied to clipboard
constructor(sessionSampleRate: Double? = null, onErrorSampleRate: Double? = null, maskAllText: Boolean = true, maskAllImages: Boolean = true, quality: SentryReplayOptions.Quality = Quality.MEDIUM)

Types

Link copied to clipboard

Quality of the session replay.

Properties

Link copied to clipboard

Masks all image content. Draws a rectangle of image bounds with image's dominant color on top.

Link copied to clipboard

Makss all text content. Draws a rectangle of text bounds with text color on top.

Link copied to clipboard

Indicates the percentage in which a 30 seconds replay will be sent with error events. Specifying 0 means never, 1.0 means always. The value needs to be >= 0.0 and <= 1.0.

Link copied to clipboard

Defines the 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.

Link copied to clipboard

Indicates the percentage in which the replay for the session will be created. Specifying 0 means never, 1.0 means always. The value needs to be >= 0.0 and <= 1.0.