public abstract class RemoteConfigResponse
extends java.lang.Object
| Constructor and Description |
|---|
RemoteConfigResponse() |
| Modifier and Type | Method and Description |
|---|---|
static RemoteConfigResponse |
create(java.lang.Boolean killSwitch,
java.lang.String androidDisplayUrlMacro,
java.lang.String androidAdTagUrlMode,
java.lang.String androidAdTagDataMacro,
java.lang.String androidAdTagDataMode,
java.lang.Boolean csmEnabled) |
static RemoteConfigResponse |
createEmpty() |
abstract java.lang.Boolean |
getCsmEnabled()
Feature flag for activating/deactivating the CSM feature.
|
abstract java.lang.Boolean |
getKillSwitch()
The kill switch applies to both the iOS and Android SDKs, and tells the SDK to stop getting
bids from CDB.
|
static com.google.gson.TypeAdapter<RemoteConfigResponse> |
typeAdapter(com.google.gson.Gson gson) |
RemoteConfigResponse |
withKillSwitch(java.lang.Boolean killSwitch) |
@NonNull public static RemoteConfigResponse create(@Nullable java.lang.Boolean killSwitch, @Nullable java.lang.String androidDisplayUrlMacro, @Nullable java.lang.String androidAdTagUrlMode, @Nullable java.lang.String androidAdTagDataMacro, @Nullable java.lang.String androidAdTagDataMode, @Nullable java.lang.Boolean csmEnabled)
@NonNull public static RemoteConfigResponse createEmpty()
@NonNull public RemoteConfigResponse withKillSwitch(@Nullable java.lang.Boolean killSwitch)
public static com.google.gson.TypeAdapter<RemoteConfigResponse> typeAdapter(com.google.gson.Gson gson)
@Nullable public abstract java.lang.Boolean getKillSwitch()
@Nullable public abstract java.lang.Boolean getCsmEnabled()
true, then the
feature is activated. If false, then it is deactivated. If the flag is not present
(i.e. equals to null), then the previous persisted value of this flag is taken. If
there is no previous value, this means that this is a fresh start of a new application, then a
default value is taken.