Skip to content

TraverseAllChildrenMapper

Xavier F. Gouchet edited this page Sep 4, 2024 · 1 revision

interface TraverseAllChildrenMapper<in T : ViewGroup> : WireframeMapper<T>

Maps a View to a List of MobileSegment.Wireframe. This is mainly used internally by the SDK but if you want to provide a different Session Replay representation for a specific View type you can implement this on your end. Note that mappers using this interface also traverse all the children of the view instead of just the immediate one. This means that you will need to have mappers for all child views of the view the mapper is traversing.

Inheritors

BaseViewGroupMapper
Clone this wiki locally