Package io.sentry
Class NoOpReplayController
java.lang.Object
io.sentry.NoOpReplayController
- All Implemented Interfaces:
IReplayApi
,ReplayController
-
Method Summary
Modifier and TypeMethodDescriptionvoid
captureReplay
(@Nullable Boolean isTerminating) void
void
Draws a masking overlay on top of the screen to help visualize which parts of the screen are masked by Session Replay.@NotNull ReplayBreadcrumbConverter
static NoOpReplayController
@NotNull SentryId
boolean
boolean
void
pause()
void
resume()
void
setBreadcrumbConverter
(@NotNull ReplayBreadcrumbConverter converter) void
start()
void
stop()
-
Method Details
-
getInstance
-
start
public void start()- Specified by:
start
in interfaceReplayController
-
stop
public void stop()- Specified by:
stop
in interfaceReplayController
-
pause
public void pause()- Specified by:
pause
in interfaceReplayController
-
resume
public void resume()- Specified by:
resume
in interfaceReplayController
-
isRecording
public boolean isRecording()- Specified by:
isRecording
in interfaceReplayController
-
captureReplay
- Specified by:
captureReplay
in interfaceReplayController
-
getReplayId
- Specified by:
getReplayId
in interfaceReplayController
-
setBreadcrumbConverter
- Specified by:
setBreadcrumbConverter
in interfaceReplayController
-
getBreadcrumbConverter
- Specified by:
getBreadcrumbConverter
in interfaceReplayController
-
isDebugMaskingOverlayEnabled
public boolean isDebugMaskingOverlayEnabled()- Specified by:
isDebugMaskingOverlayEnabled
in interfaceReplayController
-
enableDebugMaskingOverlay
public void enableDebugMaskingOverlay()Description copied from interface:IReplayApi
Draws a masking overlay on top of the screen to help visualize which parts of the screen are masked by Session Replay. This is only useful for debugging purposes and should not be used in production environments.Expect the top level view to be invalidated more often than usual, as the overlay is drawn on top of it.
- Specified by:
enableDebugMaskingOverlay
in interfaceIReplayApi
-
disableDebugMaskingOverlay
public void disableDebugMaskingOverlay()- Specified by:
disableDebugMaskingOverlay
in interfaceIReplayApi
-