TextViewMapper - DataDog/dd-sdk-android GitHub Wiki
open class TextViewMapper<in T : TextView>(viewIdentifierResolver: ViewIdentifierResolver, colorStringFormatter: ColorStringFormatter, viewBoundsResolver: ViewBoundsResolver, drawableToColorMapper: DrawableToColorMapper) : BaseAsyncBackgroundWireframeMapper<T>
A WireframeMapper implementation to map a TextView component.
EditTextMapper |
constructor(viewIdentifierResolver: ViewIdentifierResolver, colorStringFormatter: ColorStringFormatter, viewBoundsResolver: ViewBoundsResolver, drawableToColorMapper: DrawableToColorMapper)
open override fun map(view: T, mappingContext: MappingContext, asyncJobStatusCallback: AsyncJobStatusCallback, internalLogger: InternalLogger): List<MobileSegment.Wireframe>
Maps a View to a List in order to be rendered in the Session Replay player.
view | as the View instance that will be mapped |
mappingContext | in which we provide useful information regarding the current |
asyncJobStatusCallback | a callback that can be called when the mapper starts or finishes processing an async job. By calling this whenever a job started (in the caller thread) and finished (in the background thread) will make sure that the List<Wireframe> will not be consumed until all the wireframes are updated by the async jobs. It can be used to offload heavy work from the calling thread (main) to a background thread while mapping some view properties. |
internalLogger | the logger to log internal warnings |
MobileSegment.Wireframe |
SystemInformation |