-
- All Implemented Interfaces:
public class MoatOptions.BuilderThe builder for the Moat configuration.
-
-
Constructor Summary
Constructors Constructor Description MoatOptions.Builder(String namespace, String partnerCode)Creates a builder for the Moat configuration.
-
Method Summary
Modifier and Type Method Description MoatOptions.BuilderdisableAdIdCollection(boolean disableAdIdCollection)Sets whether the ad identifier collection is enabled. MoatOptions.BuilderdisableLocationServices(boolean disableLocationServices)Sets whether the location service is enabled. MoatOptions.BuilderloggingEnabled(boolean loggingEnabled)Sets whether the logging of Moat is enabled. MoatOptionsbuild()Builds the Moat configuration. -
-
Method Detail
-
disableAdIdCollection
@NonNull() MoatOptions.Builder disableAdIdCollection(boolean disableAdIdCollection)
Sets whether the ad identifier collection is enabled.
- Parameters:
disableAdIdCollection- Whether the ad id collection is enabled.
-
disableLocationServices
@NonNull() MoatOptions.Builder disableLocationServices(boolean disableLocationServices)
Sets whether the location service is enabled.
- Parameters:
disableLocationServices- Whether the location service is enabled.
-
loggingEnabled
@NonNull() MoatOptions.Builder loggingEnabled(boolean loggingEnabled)
Sets whether the logging of Moat is enabled.
- Parameters:
loggingEnabled- Whether the logging is enabled.
-
build
@NonNull() MoatOptions build()
Builds the Moat configuration.
-
-
-
-