GuidImageUrlCache

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun get(@NonNull guid: String): String
Method to fetch the image url from Sender which has been cached for 2 days
Link copied to clipboard
Link copied to clipboard
Iterate through the map and remove the expired guidImageUrl entries.
Link copied to clipboard
open fun put(@NonNull guid: String, @NonNull url: String)
Method to put the image url from Sender App for the Guid and caching it with expiration of 2 days

Properties

Link copied to clipboard
val GUID_IMAGE_URL_CACHE: String = "guidImageUrlCache"