api/internal/media/media_image_cache
library
Functions
-
configureDigiaImageCache({int imageDiskCacheBytes = SdkConfig.defaultMediaDiskCacheBytes})
→ void
-
Points the image loader's process-wide default at DigiaImageCacheManager,
scaled to
imageDiskCacheBytes. Called once at SDK init with the default
budget, and again whenever the server config resolves (cached at init,
then the fetched answer). Tests install their own default instead (see
useRealImageCache), which is why this is a call rather than a static
initializer.