-
public interface ImageWireframeHelperA Helper to handle capturing images in Session replay wireframes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classImageWireframeHelper.Companion
-
Method Summary
Modifier and Type Method Description abstract MobileSegment.WireframecreateImageWireframe(View view, Integer currentWireframeIndex, Long x, Long y, Integer width, Integer height, Boolean usePIIPlaceholder, Drawable drawable, AsyncJobStatusCallback asyncJobStatusCallback, MobileSegment.WireframeClip clipping, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String prefix)Asks the helper to create an image wireframe, and process the provided drawable in the background. abstract List<MobileSegment.Wireframe>createCompoundDrawableWireframes(TextView textView, MappingContext mappingContext, Integer prevWireframeIndex, AsyncJobStatusCallback asyncJobStatusCallback)Creates the wireframes for the compound drawables in a TextView. -
-
Method Detail
-
createImageWireframe
abstract MobileSegment.Wireframe createImageWireframe(View view, Integer currentWireframeIndex, Long x, Long y, Integer width, Integer height, Boolean usePIIPlaceholder, Drawable drawable, AsyncJobStatusCallback asyncJobStatusCallback, MobileSegment.WireframeClip clipping, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String prefix)
Asks the helper to create an image wireframe, and process the provided drawable in the background.
- Parameters:
view- the view owning the drawablecurrentWireframeIndex- the index of the wireframe in the list of wireframes for the viewx- the x position of the imagey- the y position of the imagewidth- the width of the imageheight- the width of the imageusePIIPlaceholder- whether to replace the image content with a placeholder when we suspect it contains PIIdrawable- the drawable to captureasyncJobStatusCallback- the callback for the async capture processclipping- the bounds of the image that are actually visibleshapeStyle- provides a custom shape (e.g.border- provides a custom border to the image wireframeprefix- a prefix identifying the drawable in the parent view's context
-
createCompoundDrawableWireframes
abstract List<MobileSegment.Wireframe> createCompoundDrawableWireframes(TextView textView, MappingContext mappingContext, Integer prevWireframeIndex, AsyncJobStatusCallback asyncJobStatusCallback)
Creates the wireframes for the compound drawables in a TextView.
-
-
-
-