ImageData

public class ImageData


Encapsulates an image to be displayed within a Firebase In App Message.

Summary

Public fields

final @Nullable Bitmap
final @NonNull String

!!!!!WARNING!!!!! We are overriding equality in this class.

Public methods

@Nullable Bitmap

Gets the bitmap associated with this image

@NonNull String

Gets the URL associated with this image

Public fields

bitmapData

public final @Nullable Bitmap bitmapData

imageUrl

public final @NonNull String imageUrl

!!!!!WARNING!!!!! We are overriding equality in this class. Please add equality checks for all new private class members.

Public methods

getBitmapData

public @Nullable Bitmap getBitmapData()

Gets the bitmap associated with this image

getImageUrl

public @NonNull String getImageUrl()

Gets the URL associated with this image