public class POBAdViewCacheService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
POBAdViewCacheService.AdViewConfig
Stores the pre-rendered ad view and associated POBFullScreenActivityListener instance.
|
| Constructor and Description |
|---|
POBAdViewCacheService()
Initializes the webViewConfig map.
|
| Modifier and Type | Method and Description |
|---|---|
POBAdViewCacheService.AdViewConfig |
getStoredAdView(java.lang.Integer uniqueId)
Retrieve config stored against uniqueId if available
|
POBAdViewCacheService.AdViewConfig |
popStoredAdView(java.lang.Integer uniqueId)
Removes config stored against uniqueId
|
void |
storeAdView(java.lang.Integer uniqueId,
POBAdViewCacheService.AdViewConfig viewAdViewConfig)
Stores Ad config
|
public POBAdViewCacheService()
public void storeAdView(@NonNull
java.lang.Integer uniqueId,
@NonNull
POBAdViewCacheService.AdViewConfig viewAdViewConfig)
uniqueId - unique identifier for associated objectviewAdViewConfig - config stored against associated object@Nullable public POBAdViewCacheService.AdViewConfig getStoredAdView(@NonNull java.lang.Integer uniqueId)
uniqueId - unique identifier for associated object@Nullable public POBAdViewCacheService.AdViewConfig popStoredAdView(@NonNull java.lang.Integer uniqueId)
uniqueId - unique identifier for associated object