From b685a6e22b6c0da144a93fb3b0d35843bcb47525 Mon Sep 17 00:00:00 2001 From: Marco Saia Date: Mon, 18 Nov 2024 17:07:26 +0100 Subject: [PATCH] Improved comments for startRecordingImmediately parameter --- .../reactnative/sessionreplay/DdSessionReplayImplementation.kt | 2 +- .../com/datadog/reactnative/sessionreplay/DdSessionReplay.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplayImplementation.kt b/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplayImplementation.kt index 179425b8f..f46c34527 100644 --- a/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplayImplementation.kt +++ b/packages/react-native-session-replay/android/src/main/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplayImplementation.kt @@ -30,7 +30,7 @@ class DdSessionReplayImplementation( * @param replaySampleRate The sample rate applied for session replay. * @param defaultPrivacyLevel The privacy level used for replay. * @param customEndpoint Custom server url for sending replay data. - * @param startRecordingImmediately Whether the recording should start immediately. + * @param startRecordingImmediately Whether the recording should start immediately when the feature is enabled. */ fun enable( replaySampleRate: Double, diff --git a/packages/react-native-session-replay/android/src/oldarch/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplay.kt b/packages/react-native-session-replay/android/src/oldarch/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplay.kt index 9490da50f..0cfdbc138 100644 --- a/packages/react-native-session-replay/android/src/oldarch/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplay.kt +++ b/packages/react-native-session-replay/android/src/oldarch/kotlin/com/datadog/reactnative/sessionreplay/DdSessionReplay.kt @@ -27,7 +27,7 @@ class DdSessionReplay( * @param replaySampleRate The sample rate applied for session replay. * @param defaultPrivacyLevel The privacy level used for replay. * @param customEndpoint Custom server url for sending replay data. - * @param startRecordingImmediately Whether the recording should start immediately. + * @param startRecordingImmediately Whether the recording should start immediately when the feature is enabled. */ @ReactMethod fun enable(