Features
- Session Replay: Add
ReplayFrameObserverfor observing captured replay frames (#5386)
kotlin
SentryAndroid.init(context) { options ->
options.sessionReplay.frameObserver =
SentryReplayOptions.ReplayFrameObserver { hint, frameTimestamp, screenName ->
val bitmap = hint.getAs(TypeCheckHint.REPLAY_FRAME_BITMAP, Bitmap::class.java)
if (bitmap != null) {
try {
// Process the masked replay frame
myAnalyzer.processFrame(bitmap, frameTimestamp, screenName)
} finally {
bitmap.recycle()
}
}
}
}
- Parse ART memory and garbage collector info from ANR tombstones into ART context (#5428)