Package 

Class 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

      • 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