File tree Expand file tree Collapse file tree
src/main/java/io/sentry/android/replay Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ android {
6161
6262 buildFeatures { buildConfig = true }
6363
64+ configurations.all { resolutionStrategy.force(libs.jetbrains.annotations.get()) }
65+
6466 androidComponents.beforeVariants {
6567 it.enable = ! Config .Android .shouldSkipDebugVariant(it.buildType)
6668 }
@@ -71,6 +73,7 @@ kotlin { explicitApi() }
7173dependencies {
7274 api(projects.sentry)
7375
76+ compileOnly(libs.jetbrains.annotations)
7477 compileOnly(libs.androidx.compose.ui.replay)
7578 implementation(kotlin(Config .kotlinStdLib, Config .kotlinStdLibVersionAndroid))
7679 // tests
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package io.sentry.android.replay
22
33import android.graphics.Bitmap
44import io.sentry.SentryReplayOptions
5+ import org.jetbrains.annotations.ApiStatus
56
67// since we don't have getters for maskAllText and maskAllimages, they won't be accessible as
78// properties in Kotlin, therefore we create these extensions where a getter is dummy, but a setter
@@ -40,9 +41,8 @@ public var SentryReplayOptions.maskAllImages: Boolean
4041 * file) within this method if you need it later. Do not recycle the bitmap.
4142 *
4243 * The callback runs on a background thread (the replay executor).
43- *
44- * This API is experimental and may change without notice.
4544 */
45+ @ApiStatus.Experimental
4646public fun interface ReplaySnapshotObserver {
4747 public fun onSnapshotCaptured (bitmap : Bitmap , frameTimestamp : Long , screenName : String? )
4848}
You can’t perform that action at this time.
0 commit comments