-
- All Implemented Interfaces:
-
com.amplitude.android.internal.BitmapRendering
public final class AndroidViewBitmapRendering implements BitmapRendering
This class takes in a view and converts it to a bitmap. The bitmap is stored in this class until the base64 is requested. The bitmap is then converted to base64 and stored in this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAndroidViewBitmapRendering.ViewType
-
Constructor Summary
Constructors Constructor Description AndroidViewBitmapRendering(View view, SessionReplayLogger logger, Boolean masked, ViewCache viewCache, Long snapshotTime)
-
Method Summary
Modifier and Type Method Description IntegergetWidth()IntegergetHeight()final LonggetSnapshotTime()final BooleanisRenderingStale(Boolean isDirty)StringgetBase64(ViewCache viewCache, SessionReplayLogger logger)-
-
Constructor Detail
-
AndroidViewBitmapRendering
AndroidViewBitmapRendering(View view, SessionReplayLogger logger, Boolean masked, ViewCache viewCache, Long snapshotTime)
-
-
Method Detail
-
getSnapshotTime
final Long getSnapshotTime()
-
isRenderingStale
final Boolean isRenderingStale(Boolean isDirty)
-
getBase64
String getBase64(ViewCache viewCache, SessionReplayLogger logger)
-
-
-
-