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 Summary

      Modifier and Type Method Description
      Integer mapDrawableToColor(Drawable drawable) Maps the drawable to its meaningful color, or null if the drawable is mostly invisible.
      • Methods inherited from class java.lang.Object

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

      • LegacyDrawableToColorMapper

        LegacyDrawableToColorMapper()
    • Method Detail

      • mapDrawableToColor

         Integer mapDrawableToColor(Drawable drawable)

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

        Parameters:
        drawable - the drawable to convert