| java.lang.Object | |
| ↳ | com.smaato.sdk.core.Config.ConfigBuilder |
A Builder to create instances of Config class.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ConfigBuilder() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Config | build() | ||||||||||
| Config.ConfigBuilder | enableLogging(boolean enableLogging) | ||||||||||
| Config.ConfigBuilder |
setAdContentRating(AdContentRating adContentRating)
Sets the | ||||||||||
| Config.ConfigBuilder |
setHttpsOnly(boolean httpsOnly)
Sets the | ||||||||||
| Config.ConfigBuilder |
setLogLevel(LogLevel logLevel)
Sets the | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Sets the adContentRating and returns a reference to this Builder.
Default value is AdContentRating#MAX_AD_CONTENT_RATING_UNDEFINED.
| adContentRating | the adContentRating to set |
|---|
Sets the httpsOnly flag and returns a reference to this Builder.
The httpsOnly flag allows to specify whether network requests must use SSL-encrypted connections only.
Default value is false.
| httpsOnly | the httpsOnly to set |
|---|