setCachePath
Method to set the path for the ad cache.
The SDK has a built-in FIFO persistent cache that caches all possible advertising resources, such as banners on the device. Each renderer, even custom ones, can cache advertising images and other resources. The ad cache stores files locally to improve the performance of ads.
Using this method, you can set a custom local path for storing advertising resources.
Note: Please note that your AdService must be successfully configured before calling this method. Otherwise, you will receive an AdError.Configuration error.
Return
The result of the cache path setting.
Parameters
path
Path to store advertisement resources. Example: (cacheDir.path + "/ad_cache")