Package io.sentry
Class NoOpReplayController
java.lang.Object
io.sentry.NoOpReplayController
- All Implemented Interfaces:
IReplayApi,ReplayController
-
Method Summary
Modifier and TypeMethodDescriptionvoidcaptureReplay(@Nullable Boolean isTerminating) voidvoidDraws a masking overlay on top of the screen to help visualize which parts of the screen are masked by Session Replay.@NotNull ReplayBreadcrumbConverterstatic NoOpReplayController@NotNull SentryIdbooleanbooleanvoidpause()voidresume()voidsetBreadcrumbConverter(@NotNull ReplayBreadcrumbConverter converter) voidstart()voidstop()
-
Method Details
-
getInstance
-
start
public void start()- Specified by:
startin interfaceReplayController
-
stop
public void stop()- Specified by:
stopin interfaceReplayController
-
pause
public void pause()- Specified by:
pausein interfaceReplayController
-
resume
public void resume()- Specified by:
resumein interfaceReplayController
-
isRecording
public boolean isRecording()- Specified by:
isRecordingin interfaceReplayController
-
captureReplay
- Specified by:
captureReplayin interfaceReplayController
-
getReplayId
- Specified by:
getReplayIdin interfaceReplayController
-
setBreadcrumbConverter
- Specified by:
setBreadcrumbConverterin interfaceReplayController
-
getBreadcrumbConverter
- Specified by:
getBreadcrumbConverterin interfaceReplayController
-
isDebugMaskingOverlayEnabled
public boolean isDebugMaskingOverlayEnabled()- Specified by:
isDebugMaskingOverlayEnabledin interfaceReplayController
-
enableDebugMaskingOverlay
public void enableDebugMaskingOverlay()Description copied from interface:IReplayApiDraws 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:
enableDebugMaskingOverlayin interfaceIReplayApi
-
disableDebugMaskingOverlay
public void disableDebugMaskingOverlay()- Specified by:
disableDebugMaskingOverlayin interfaceIReplayApi
-