Package 

Interface WireframeMapper


  • 
    public interface WireframeMapper<T extends View>
    
                        

    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.

    • Method Summary

      Modifier and Type Method Description
      abstract List<MobileSegment.Wireframe> map(T view, MappingContext mappingContext, AsyncJobStatusCallback asyncJobStatusCallback, InternalLogger internalLogger) Maps a View to a List<Wireframe> in order to be rendered in the Session Replay player.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • map

        @UiThread() abstract List<MobileSegment.Wireframe> map(T 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 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.
        internalLogger - the logger to log internal warnings