-
- All Implemented Interfaces:
-
com.datadog.android.sessionreplay.recorder.mapper.WireframeMapper
public class ImageViewMapper extends BaseAsyncBackgroundWireframeMapper<ImageView>
A WireframeMapper implementation to map an ImageView component.
-
-
Constructor Summary
Constructors Constructor Description ImageViewMapper(ViewIdentifierResolver viewIdentifierResolver, ColorStringFormatter colorStringFormatter, ViewBoundsResolver viewBoundsResolver, DrawableToColorMapper drawableToColorMapper, DrawableCopier drawableCopier)
-
Method Summary
Modifier and Type Method Description List<MobileSegment.Wireframe>map(ImageView view, MappingContext mappingContext, AsyncJobStatusCallback asyncJobStatusCallback, InternalLogger internalLogger)Maps a View to a List<Wireframe> in order to be rendered in the Session Replay player. -
-
Constructor Detail
-
ImageViewMapper
ImageViewMapper(ViewIdentifierResolver viewIdentifierResolver, ColorStringFormatter colorStringFormatter, ViewBoundsResolver viewBoundsResolver, DrawableToColorMapper drawableToColorMapper, DrawableCopier drawableCopier)
-
-
Method Detail
-
map
@UiThread() List<MobileSegment.Wireframe> map(ImageView view, MappingContext mappingContext, AsyncJobStatusCallback asyncJobStatusCallback, InternalLogger internalLogger)
Maps a View to a List<Wireframe> in order to be rendered in the Session Replay player.
- Parameters:
view- as the View instance that will be mappedmappingContext- in which we provide useful information regarding the currentasyncJobStatusCallback- a callback that can be called when the mapper starts or finishes processing an async job.internalLogger- the logger to log internal warnings
-
-
-
-