load
fun load(context: Context, adUnitId: String, type: GfpAdCacheType, callback: GfpAdCacheManager.LoadCallback, autoPrefetchNext: Boolean = true, prefetchCallback: GfpAdCacheManager.PrefetchCallback? = null)
Load an ad response instance cached through GfpAdCacheManager.prefetch from disk. All resources required to load the ad in that response are also cached on disk. You can load the ad directly using com.naver.gfpsdk.GfpAdLoader.loadAd with the returned com.naver.gfpsdk.internal.services.adcall.AdCallResponse.
Parameters
context
context
ad Unit Id
ad unit ID for ad request
callback
callback for loading cached adCallResponse
auto Prefetch Next
whether to prefetch the next ad automatically after the current ad response is retrieved
prefetch Callback
callback for auto prefetching. Only used when autoPrefetchNext is true