Adds a custom event in Session Replay timeline with the name as value and updates the area in Session Replay player.
Only works when the method is called on MainThread.
Parameters
@NonNull Value to be displayed in Session Replay timeline.
@NonNull a rectangle area to be captured.