public class POBCacheManager
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
POBCacheManager.POBProfileConfigListener
Interface definition to notify success and failure of the profile config loading.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OMID_JS_CONTENT |
| Constructor and Description |
|---|
POBCacheManager(android.content.Context context,
POBNetworkHandler networkHandler)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
requestProfileConfiguration(java.lang.String publisherId,
int profileId,
java.lang.Integer versionId,
POBCacheManager.POBProfileConfigListener completionListener)
Fetches the configuration for required profile from CDN and caches it.
|
void |
requestServiceScript(java.lang.String url,
POBMeasurementProvider.POBScriptListener listener) |
public POBCacheManager(@NonNull
android.content.Context context,
@NonNull
POBNetworkHandler networkHandler)
context - Contextpublic void requestServiceScript(@NonNull
java.lang.String url,
@NonNull
POBMeasurementProvider.POBScriptListener listener)
public void requestProfileConfiguration(java.lang.String publisherId,
int profileId,
@Nullable
java.lang.Integer versionId,
@NonNull
POBCacheManager.POBProfileConfigListener completionListener)
publisherId - Publisher IdprofileId - profileId for which we require configurationversionId - version of profilecompletionListener - Completion listener to get profile setting for requested profile id
and error details if it fails to fetch profile details.