Package io.sentry
Class SentryReplayOptions
java.lang.Object
io.sentry.SentryReplayOptions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSentryReplayOptions(boolean empty, @Nullable SdkVersion sdkVersion) SentryReplayOptions(@Nullable Double sessionSampleRate, @Nullable Double onErrorSampleRate, @Nullable SdkVersion sdkVersion) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMaskViewClass(@NotNull String className) voidaddUnmaskViewClass(@NotNull String className) longint@Nullable String@Nullable Double@Nullable SdkVersionlong@Nullable Doublelong@Nullable StringbooleanbooleanbooleanvoidsetMaskAllImages(boolean maskAllImages) Mask all image content.voidsetMaskAllText(boolean maskAllText) Mask all text content.voidsetMaskViewContainerClass(@NotNull String containerClass) voidsetOnErrorSampleRate(@Nullable Double onErrorSampleRate) voidsetQuality(@NotNull SentryReplayOptions.SentryReplayQuality quality) voidsetSdkVersion(@Nullable SdkVersion sdkVersion) voidsetSessionSampleRate(@Nullable Double sessionSampleRate) voidsetTrackOrientationChange(boolean trackOrientationChange) voidsetUnmaskViewContainerClass(@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
-