public class BuildConfigWrapper
extends java.lang.Object
BuildConfig constants to ease testing| Constructor and Description |
|---|
BuildConfigWrapper() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAdChoiceIconHeightInDp()
Height in dp of the AdChoice icon for advanced native.
|
int |
getAdChoiceIconWidthInDp()
Width in dp of the AdChoice icon for advanced native.
|
java.lang.String |
getCdbUrl() |
int |
getCsmBatchSize() |
java.lang.String |
getCsmDirectoryName()
The relative path in application folder of the folder used to store metric files
|
java.lang.String |
getCsmQueueFilename()
The relative path in application folder of the sending queue file
|
java.lang.String |
getEventUrl() |
int |
getMaxSizeOfCsmMetricSendingQueue()
Maximum size (in bytes) of metric elements stored in the metric sending queue.
|
int |
getMaxSizeOfCsmMetricsFolder()
Maximum size (in bytes) of metric elements stored in the metrics folder.
|
int |
getMinLogLevel()
Included minimum level of logs to print
Values are from
Log:
2 = VERBOSE
3 = DEBUG
4 = INFO
5 = WARNING
6 = ERROR
7 = ASSERT
|
int |
getNetworkTimeoutInMillis()
Duration in milliseconds for the network layer to drop a call and consider it timeouted.
|
java.lang.String |
getSdkVersion() |
boolean |
preconditionThrowsOnException()
Indicate if exceptions that could be ignored should be thrown.
|
@NonNull public java.lang.String getSdkVersion()
@NonNull public java.lang.String getCdbUrl()
@NonNull public java.lang.String getEventUrl()
public boolean preconditionThrowsOnException()
PreconditionsUtilpublic int getCsmBatchSize()
public int getMaxSizeOfCsmMetricsFolder()
public int getMaxSizeOfCsmMetricSendingQueue()
@NonNull public java.lang.String getCsmQueueFilename()
@NonNull public java.lang.String getCsmDirectoryName()
public int getNetworkTimeoutInMillis()
public int getMinLogLevel()
Log:
public int getAdChoiceIconWidthInDp()
public int getAdChoiceIconHeightInDp()