-
- 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLegacyDrawableToColorMapper.Companion
-
Constructor Summary
Constructors Constructor Description LegacyDrawableToColorMapper()
-
Method Summary
Modifier and Type Method Description IntegermapDrawableToColor(Drawable drawable)Maps the drawable to its meaningful color, or null if the drawable is mostly invisible. -
-
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
-
-
-
-