-
public final class PostHogSessionReplayConfig
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanmaskAllTextInputsprivate BooleanmaskAllImagesprivate BooleancaptureLogcatprivate PostHogDrawableConverterdrawableConverterprivate Booleanscreenshotprivate LongdebouncerDelayMs
-
Constructor Summary
Constructors Constructor Description PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat, PostHogDrawableConverter drawableConverter, Boolean screenshot, Long debouncerDelayMs)PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat, PostHogDrawableConverter drawableConverter, Boolean screenshot)PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat, PostHogDrawableConverter drawableConverter)PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat)PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages)PostHogSessionReplayConfig(Boolean maskAllTextInputs)PostHogSessionReplayConfig()
-
Method Summary
Modifier and Type Method Description final BooleangetMaskAllTextInputs()Enable masking of all text input fields Defaults to true This isn't supported if using Jetpack Compose views, use with caution final UnitsetMaskAllTextInputs(Boolean maskAllTextInputs)Enable masking of all text input fields Defaults to true This isn't supported if using Jetpack Compose views, use with caution final BooleangetMaskAllImages()Enable masking of all images to a placeholder Defaults to true This isn't supported if using Jetpack Compose views, use with caution final UnitsetMaskAllImages(Boolean maskAllImages)Enable masking of all images to a placeholder Defaults to true This isn't supported if using Jetpack Compose views, use with caution final BooleangetCaptureLogcat()Enable capturing of logcat as console events Defaults to true final UnitsetCaptureLogcat(Boolean captureLogcat)Enable capturing of logcat as console events Defaults to true final PostHogDrawableConvertergetDrawableConverter()Converts custom Drawable to Bitmap By default PostHog tries to convert the Drawable to Bitmap, the supported types are BitmapDrawable, ColorDrawable, GradientDrawable, InsetDrawable, LayerDrawable, RippleDrawable final UnitsetDrawableConverter(PostHogDrawableConverter drawableConverter)Converts custom Drawable to Bitmap By default PostHog tries to convert the Drawable to Bitmap, the supported types are BitmapDrawable, ColorDrawable, GradientDrawable, InsetDrawable, LayerDrawable, RippleDrawable final BooleangetScreenshot()By default Session replay will capture all the views on the screen as a wireframe, By enabling this option, PostHog will capture the screenshot of the screen. final UnitsetScreenshot(Boolean screenshot)By default Session replay will capture all the views on the screen as a wireframe, By enabling this option, PostHog will capture the screenshot of the screen. final LonggetDebouncerDelayMs()Deboucer delay used to reduce the number of snapshots captured and reduce performance impact This is used for capturing the view as a wireframe or screenshot The lower the number more snapshots will be captured but higher the performance impact Defaults to 500ms final UnitsetDebouncerDelayMs(Long debouncerDelayMs)Deboucer delay used to reduce the number of snapshots captured and reduce performance impact This is used for capturing the view as a wireframe or screenshot The lower the number more snapshots will be captured but higher the performance impact Defaults to 500ms -
-
Constructor Detail
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat, PostHogDrawableConverter drawableConverter, Boolean screenshot, Long debouncerDelayMs)
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat, PostHogDrawableConverter drawableConverter, Boolean screenshot)
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat, PostHogDrawableConverter drawableConverter)
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages, Boolean captureLogcat)
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig(Boolean maskAllTextInputs, Boolean maskAllImages)
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig(Boolean maskAllTextInputs)
-
PostHogSessionReplayConfig
PostHogSessionReplayConfig()
-
-
Method Detail
-
getMaskAllTextInputs
final Boolean getMaskAllTextInputs()
Enable masking of all text input fields Defaults to true This isn't supported if using Jetpack Compose views, use with caution
-
setMaskAllTextInputs
final Unit setMaskAllTextInputs(Boolean maskAllTextInputs)
Enable masking of all text input fields Defaults to true This isn't supported if using Jetpack Compose views, use with caution
-
getMaskAllImages
final Boolean getMaskAllImages()
Enable masking of all images to a placeholder Defaults to true This isn't supported if using Jetpack Compose views, use with caution
-
setMaskAllImages
final Unit setMaskAllImages(Boolean maskAllImages)
Enable masking of all images to a placeholder Defaults to true This isn't supported if using Jetpack Compose views, use with caution
-
getCaptureLogcat
final Boolean getCaptureLogcat()
Enable capturing of logcat as console events Defaults to true
-
setCaptureLogcat
final Unit setCaptureLogcat(Boolean captureLogcat)
Enable capturing of logcat as console events Defaults to true
-
getDrawableConverter
final PostHogDrawableConverter getDrawableConverter()
Converts custom Drawable to Bitmap By default PostHog tries to convert the Drawable to Bitmap, the supported types are BitmapDrawable, ColorDrawable, GradientDrawable, InsetDrawable, LayerDrawable, RippleDrawable
-
setDrawableConverter
final Unit setDrawableConverter(PostHogDrawableConverter drawableConverter)
Converts custom Drawable to Bitmap By default PostHog tries to convert the Drawable to Bitmap, the supported types are BitmapDrawable, ColorDrawable, GradientDrawable, InsetDrawable, LayerDrawable, RippleDrawable
-
getScreenshot
final Boolean getScreenshot()
By default Session replay will capture all the views on the screen as a wireframe, By enabling this option, PostHog will capture the screenshot of the screen. The screenshot may contain sensitive information, use with caution.
-
setScreenshot
final Unit setScreenshot(Boolean screenshot)
By default Session replay will capture all the views on the screen as a wireframe, By enabling this option, PostHog will capture the screenshot of the screen. The screenshot may contain sensitive information, use with caution.
-
getDebouncerDelayMs
final Long getDebouncerDelayMs()
Deboucer delay used to reduce the number of snapshots captured and reduce performance impact This is used for capturing the view as a wireframe or screenshot The lower the number more snapshots will be captured but higher the performance impact Defaults to 500ms
-
setDebouncerDelayMs
final Unit setDebouncerDelayMs(Long debouncerDelayMs)
Deboucer delay used to reduce the number of snapshots captured and reduce performance impact This is used for capturing the view as a wireframe or screenshot The lower the number more snapshots will be captured but higher the performance impact Defaults to 500ms
-
-
-
-