AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyUIMediaCacheConfiguration Class Referencesealed

Limits for the cache the flow renderer keeps for images and video. Any limit left null keeps the native default. More...

Public Member Functions

 AdaptyUIMediaCacheConfiguration (int? memoryStorageTotalCostLimit, int? memoryStorageCountLimit, int? diskStorageSizeLimit)
 Sets the cache limits. Any of them null keeps the native default.
override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

int? MemoryStorageTotalCostLimit
 How much the in-memory cache may hold, in bytes.
int? MemoryStorageCountLimit
 How many items the in-memory cache may hold.
int? DiskStorageSizeLimit
 How much the on-disk cache may hold, in bytes.

Detailed Description

Limits for the cache the flow renderer keeps for images and video. Any limit left null keeps the native default.

Constructor & Destructor Documentation

◆ AdaptyUIMediaCacheConfiguration()

AdaptySDK.AdaptyUIMediaCacheConfiguration.AdaptyUIMediaCacheConfiguration ( int? memoryStorageTotalCostLimit,
int? memoryStorageCountLimit,
int? diskStorageSizeLimit )

Sets the cache limits. Any of them null keeps the native default.

Parameters
memoryStorageTotalCostLimitIn-memory cache limit, in bytes.
memoryStorageCountLimitHow many items the in-memory cache may hold.
diskStorageSizeLimitOn-disk cache limit, in bytes.

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyUIMediaCacheConfiguration.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ DiskStorageSizeLimit

int? AdaptySDK.AdaptyUIMediaCacheConfiguration.DiskStorageSizeLimit

How much the on-disk cache may hold, in bytes.

◆ MemoryStorageCountLimit

int? AdaptySDK.AdaptyUIMediaCacheConfiguration.MemoryStorageCountLimit

How many items the in-memory cache may hold.

◆ MemoryStorageTotalCostLimit

int? AdaptySDK.AdaptyUIMediaCacheConfiguration.MemoryStorageTotalCostLimit

How much the in-memory cache may hold, in bytes.


The documentation for this class was generated from the following file: