Package io.sentry
Class SentryReplayOptions
java.lang.Object
io.sentry.SentryReplayOptions
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSentryReplayOptions
(boolean empty) SentryReplayOptions
(@Nullable Double sessionSampleRate, @Nullable Double onErrorSampleRate) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMaskViewClass
(@NotNull String className) void
addUnmaskViewClass
(@NotNull String className) long
int
@Nullable String
@Nullable Double
long
@Nullable Double
long
@Nullable String
boolean
boolean
void
setMaskAllImages
(boolean maskAllImages) Mask all image content.void
setMaskAllText
(boolean maskAllText) Mask all text content.void
setMaskViewContainerClass
(@NotNull String containerClass) void
setOnErrorSampleRate
(@Nullable Double onErrorSampleRate) void
setQuality
(@NotNull SentryReplayOptions.SentryReplayQuality quality) void
setSessionSampleRate
(@Nullable Double sessionSampleRate) void
setUnmaskViewContainerClass
(@NotNull String containerClass)
-
Field Details
-
TEXT_VIEW_CLASS_NAME
- See Also:
-
IMAGE_VIEW_CLASS_NAME
- See Also:
-
WEB_VIEW_CLASS_NAME
- See Also:
-
VIDEO_VIEW_CLASS_NAME
- See Also:
-
ANDROIDX_MEDIA_VIEW_CLASS_NAME
- See Also:
-
EXOPLAYER_CLASS_NAME
- See Also:
-
EXOPLAYER_STYLED_CLASS_NAME
- See Also:
-
-
Constructor Details
-
SentryReplayOptions
public SentryReplayOptions(boolean empty) -
SentryReplayOptions
-
-
Method Details
-
getOnErrorSampleRate
-
isSessionReplayEnabled
public boolean isSessionReplayEnabled() -
setOnErrorSampleRate
-
getSessionSampleRate
-
isSessionReplayForErrorsEnabled
public boolean isSessionReplayForErrorsEnabled() -
setSessionSampleRate
-
setMaskAllText
public void setMaskAllText(boolean maskAllText) Mask all text content. Draws a rectangle of text bounds with text color on top. By default only views extending TextView are masked.Default is enabled.
-
setMaskAllImages
public void setMaskAllImages(boolean maskAllImages) Mask all image content. Draws a rectangle of image bounds with image's dominant color on top. By default only views extending ImageView with BitmapDrawable or custom Drawable type are masked. ColorDrawable, InsetDrawable, VectorDrawable are all considered non-PII, as they come from the apk.Default is enabled.
-
getMaskViewClasses
-
addMaskViewClass
-
getUnmaskViewClasses
-
addUnmaskViewClass
-
getQuality
-
setQuality
-
getFrameRate
@Internal public int getFrameRate() -
getErrorReplayDuration
@Internal public long getErrorReplayDuration() -
getSessionSegmentDuration
@Internal public long getSessionSegmentDuration() -
getSessionDuration
@Internal public long getSessionDuration() -
setMaskViewContainerClass
-
setUnmaskViewContainerClass
-
getMaskViewContainerClass
-
getUnmaskViewContainerClass
-