-
- 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(List<DrawableToColorMapper> extensionMappers)
-
Method Summary
Modifier and Type Method Description IntegermapDrawableToColor(Drawable drawable, InternalLogger internalLogger)Maps the drawable to its meaningful color, or null if the drawable is mostly invisible. -
-
Constructor Detail
-
LegacyDrawableToColorMapper
LegacyDrawableToColorMapper(List<DrawableToColorMapper> extensionMappers)
-
-
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 convertinternalLogger- the internalLogger to report warnings
-
-
-
-