Class AnalyticsConsent.Builder
java.lang.Object
com.codename1.analytics.AnalyticsConsent.Builder
- Enclosing class:
AnalyticsConsent
Mutable builder for
AnalyticsConsent.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadStorage(boolean value) Sets the ad storage category.analytics(boolean value) Sets the analytics category.build()Builds the immutable consent object.crashReporting(boolean value) Sets the crash reporting category.personalization(boolean value) Sets the personalization category.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analytics
Sets the analytics category.
Parameters
value: true to grant behavioural analytics
Returns
this builder
-
crashReporting
Sets the crash reporting category.
Parameters
value: true to grant crash reporting
Returns
this builder
-
personalization
Sets the personalization category.
Parameters
value: true to grant personalization
Returns
this builder
-
adStorage
Sets the ad storage category.
Parameters
value: true to grant ad storage
Returns
this builder
-
build
-