Asset Repository
A service for downloading and caching advertising resources.
Used as a property in the AdRenderer.ServiceLocator. You will only use it when developing a custom renderer. With it, you will be able to load/cache advertising resources.
This service works with the network and the cache. If your resource is cached, your result will be retrieved from the cache; if not, the resource will be loaded from the URL.
This object is the most suitable for creating most renderers, as it controls the loading and caching itself. But in some cases, you may need more caching control or different loading logic. In this case, you can use AdRenderer.ServiceLocator with AssetCache and AssetRequestService inside.
You can find example of how to use AssetRepository in our tutorials.