Package 

Class LegacyDrawableToColorMapper

  • All Implemented Interfaces:
    com.datadog.android.sessionreplay.utils.DrawableToColorMapper

    
    public class LegacyDrawableToColorMapper
     implements DrawableToColorMapper
                        

    Drawable utility object needed in the Session Replay Wireframe Mappers. This class is meant for internal usage so please use it carefully as it might change in time.

    • Method Detail

      • mapDrawableToColor

         Integer mapDrawableToColor(Drawable drawable, InternalLogger internalLogger)

        Maps the drawable to its meaningful color, or null if the drawable is mostly invisible.

        Parameters:
        drawable - the drawable to convert
        internalLogger - the internalLogger to report warnings