diff --git a/docs/platforms/android/session-replay/index.mdx b/docs/platforms/android/session-replay/index.mdx
index fb854b6dfca6c..959394fdb63d2 100644
--- a/docs/platforms/android/session-replay/index.mdx
+++ b/docs/platforms/android/session-replay/index.mdx
@@ -63,13 +63,13 @@ SentryAndroid.init(context) { options ->
options.isDebug = true
// Currently under experimental options:
- options.experimental.sessionReplay.errorSampleRate = 1.0
+ options.experimental.sessionReplay.onErrorSampleRate = 1.0
options.experimental.sessionReplay.sessionSampleRate = 1.0
}
```
```XML {filename:AndroidManifest.xml}
-
+
```
@@ -77,7 +77,7 @@ SentryAndroid.init(context) { options ->
While you're testing, we recommend that you set `sessionSampleRate` to `1.0`. This ensures that every user session will be sent to Sentry.
-Once testing is complete, **we recommend lowering this value in production**. We still recommend keeping `errorSampleRate` set to `1.0`.
+Once testing is complete, **we recommend lowering this value in production**. We still recommend keeping `onErrorSampleRate` set to `1.0`.
## Sampling
@@ -85,12 +85,12 @@ Sampling allows you to control how much of your website's traffic will result in
1. `sessionSampleRate` - The sample rate for
replays that begin recording immediately and last the entirety of the user's session.
-2. `errorSampleRate` - The sample rate for
+2. `onErrorSampleRate` - The sample rate for
replays that are recorded when an error happens. This type of replay will record
up to a minute of events prior to the error and continue recording until the session
ends.
-Sampling begins as soon as a session starts. `sessionSampleRate` is evaluated first. If it's sampled, the replay recording will begin. Otherwise, `errorSampleRate` is evaluated and if it's sampled, the integration will begin buffering the replay and will only upload it to Sentry if an error occurs. The remainder of the replay will behave similarly to a whole-session replay.
+Sampling begins as soon as a session starts. `sessionSampleRate` is evaluated first. If it's sampled, the replay recording will begin. Otherwise, `onErrorSampleRate` is evaluated and if it's sampled, the integration will begin buffering the replay and will only upload it to Sentry if an error occurs. The remainder of the replay will behave similarly to a whole-session replay.
## Privacy