Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pages/docs/tracking-methods/sdks/android/android-replay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ The current configuration options are:
| --- | --- | --- |
| `wifiOnly` | When `true`, replay events will only be flushed to the server when the device has a WiFi connection. If there is no wifi, flushes are skipped and the events remain in the in-memory queue until wifi is restored (or until the queue reaches its limit and the oldest events are evicted to make room for newer events). <br/> When `false`, replay events will be flushed with any network connection, including cellular. | `true` |
| `autoMaskedViews` | This is a `Set` of enum options for the types of views that should be masked by the SDK automatically. | `Image`, `Text`, and `Web` |
| `autoStartRecording` | This is a boolean value that determines whether or not recording begins automatically upon initialization and when returning to the foreground. | `true` |
| `autoStartRecording` | This is a boolean value that determines whether or not recording begins automatically upon initialization and when returning to the foreground. <br/> **Deprecated in v1.1.0:** Use `recordingSessionsPercent` set to `0.0` to disable automatic recording. | `true` |
| `recordingSessionsPercent` | This is a value between `0.0` and `100.0` that controls the sampling rate for recording session replays. <br/> At `0.0` no sessions will be recorded. At `100.0` all sessions will be recorded. | `100.0` |
| `flushInterval` | Specifies the flush interval (in seconds) at which session replay events are sent to the Mixpanel server. | `10` |
| `enableLogging` | This is a boolean value that determines whether or not debugging logs are printed to the console. | `false` |
| `remoteSettingsMode` | Setting for handling remote configuration during SDK initialization. Can be `disabled`, `fallback`, `strict`. | `disabled` |
| `remoteSettingsMode` | Setting for handling remote configuration during SDK initialization. Can be `DISABLED`, `FALLBACK`, `STRICT`. | `DISABLED` |

**autoMaskedViews Example Usage**

Expand Down Expand Up @@ -206,16 +206,16 @@ By setting `remote_settings_mode` you can quickly set SDK options for your proje

Three modes are available:

- `disabled`: Do not use remote configuration and proceed to use the hardcoded initial options provided in `MPSessionReplay.initialize`
- `fallback`: Attempt to retrieve remote configuration and proceed with those settings. If there is failure or timeout (500 ms), will use initial provided options.
- `strict`: Will prevent session replay from auto-starting unless a remote configuration was successfully retrieved.
- `DISABLED`: Do not use remote configuration and proceed to use the SDK initialization config provided in `MPSessionReplay.initialize`
- `FALLBACK`: Attempt to retrieve remote configuration and proceed with those settings. If there is failure or timeout (500 ms), will use previously cached remote settings (from last successful fetch) or the SDK initialization config.
- `STRICT`: Requires successful remote configuration fetch for SDK initialization.

Can use this setting to quickly update and adjust configurations to your liking.

List of currently supported remote settings:
- `recordingSessionsPercent`

Settings that are not yet supported, will not appear in the remote configuration. These non-included options will use the value that was initially set by the user for all `remoteSettingsMode` options.
Settings that are not yet supported, will not appear in the remote configuration. These non-included options will use the value from the SDK initialization config.

## Replay ID

Expand Down
Loading