Package io.sentry
Class SentryReplayOptions
java.lang.Object
io.sentry.SentryReplayOptions
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSentryReplayOptions
(boolean empty, @Nullable SdkVersion sdkVersion) SentryReplayOptions
(@Nullable Double sessionSampleRate, @Nullable Double onErrorSampleRate, @Nullable SdkVersion sdkVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMaskViewClass
(@NotNull String className) void
addUnmaskViewClass
(@NotNull String className) long
int
@Nullable String
@Nullable Double
@Nullable SdkVersion
long
@Nullable Double
long
@Nullable String
boolean
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
setSdkVersion
(@Nullable SdkVersion sdkVersion) void
setSessionSampleRate
(@Nullable Double sessionSampleRate) void
setTrackOrientationChange
(boolean trackOrientationChange) 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
-
SentryReplayOptions
public SentryReplayOptions(@Nullable @Nullable Double sessionSampleRate, @Nullable @Nullable Double onErrorSampleRate, @Nullable @Nullable SdkVersion sdkVersion)
-
-
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
-
isTrackOrientationChange
@Internal public boolean isTrackOrientationChange() -
setTrackOrientationChange
@Internal public void setTrackOrientationChange(boolean trackOrientationChange) -
getSdkVersion
-
setSdkVersion
-