-
- All Implemented Interfaces:
-
com.datadog.android.sessionreplay.internal.recorder.mapper.WireframeMapper
public class TextViewMapper extends BaseAsyncBackgroundWireframeMapper<TextView>
A WireframeMapper implementation to map a TextView component. In this case any TextView for which the input type is considered sensible (password, email address, postal address, numeric password) will be masked with the static mask: ***. All the other text fields will not be masked.
-
-
Constructor Summary
Constructors Constructor Description TextViewMapper(ViewIdentifierResolver viewIdentifierResolver, ColorStringFormatter colorStringFormatter, ViewBoundsResolver viewBoundsResolver, DrawableToColorMapper drawableToColorMapper)
-
Method Summary
Modifier and Type Method Description List<MobileSegment.Wireframe>map(TextView view, MappingContext mappingContext, AsyncJobStatusCallback asyncJobStatusCallback)Maps the View into a list of MobileSegment.Wireframe. -
-
Constructor Detail
-
TextViewMapper
TextViewMapper(ViewIdentifierResolver viewIdentifierResolver, ColorStringFormatter colorStringFormatter, ViewBoundsResolver viewBoundsResolver, DrawableToColorMapper drawableToColorMapper)
-
-
Method Detail
-
map
List<MobileSegment.Wireframe> map(TextView view, MappingContext mappingContext, AsyncJobStatusCallback asyncJobStatusCallback)
Maps the View into a list of MobileSegment.Wireframe.
- 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.
-
-
-
-