Package 

Class PostHogSessionReplayConfig

    • Method Summary

      Modifier and Type Method Description
      final Boolean getMaskAllTextInputs() Enable masking of all text input fields This is ignored if the screenshot option is enabled Defaults to true
      final Unit setMaskAllTextInputs(Boolean maskAllTextInputs) Enable masking of all text input fields This is ignored if the screenshot option is enabled Defaults to true
      final Boolean getMaskAllImages() Enable masking of all images to a placeholder This is ignored if the screenshot option is enabled Defaults to true
      final Unit setMaskAllImages(Boolean maskAllImages) Enable masking of all images to a placeholder This is ignored if the screenshot option is enabled Defaults to true
      final Boolean getCaptureLogcat() Enable capturing of logcat as console events Defaults to true
      final Unit setCaptureLogcat(Boolean captureLogcat) Enable capturing of logcat as console events Defaults to true
      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
      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
      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.
      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.
      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
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMaskAllImages

         final Boolean getMaskAllImages()

        Enable masking of all images to a placeholder This is ignored if the screenshot option is enabled Defaults to true

      • setMaskAllImages

         final Unit setMaskAllImages(Boolean maskAllImages)

        Enable masking of all images to a placeholder This is ignored if the screenshot option is enabled 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