public class Config
extends java.lang.Object
| Constructor and Description |
|---|
Config()
used by
DummyCriteo to create a Config object |
Config(android.content.SharedPreferences sharedPreferences,
JsonSerializer jsonSerializer) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdTagDataMacro() |
java.lang.String |
getAdTagDataMode() |
java.lang.String |
getAdTagUrlMode() |
java.lang.String |
getDisplayUrlMacro() |
int |
getLiveBiddingTimeBudgetInMillis()
Return the time budget allocated to the SDK to answer bids to the publisher.
|
boolean |
isCsmEnabled()
Return
true to indicate if the CSM feature is activated. |
boolean |
isKillSwitchEnabled() |
boolean |
isLiveBiddingEnabled()
Return
true to indicate if the live-bidding is enabled, false otherwise. |
boolean |
isPrefetchOnInitEnabled()
Return
true to indicate if the prefetch is enabled, false otherwise. |
void |
refreshConfig(RemoteConfigResponse response) |
public Config()
DummyCriteo to create a Config objectpublic Config(@NonNull
android.content.SharedPreferences sharedPreferences,
@NonNull
JsonSerializer jsonSerializer)
public void refreshConfig(@NonNull
RemoteConfigResponse response)
public boolean isKillSwitchEnabled()
public boolean isCsmEnabled()
true to indicate if the CSM feature is activated. Else false
is returned.public boolean isLiveBiddingEnabled()
true to indicate if the live-bidding is enabled, false otherwise.public int getLiveBiddingTimeBudgetInMillis()
This is only used if live bidding is enabled.
public boolean isPrefetchOnInitEnabled()
true to indicate if the prefetch is enabled, false otherwise.@NonNull public java.lang.String getDisplayUrlMacro()
@NonNull public java.lang.String getAdTagUrlMode()
@NonNull public java.lang.String getAdTagDataMacro()
@NonNull public java.lang.String getAdTagDataMode()