Package com.incode.welcome_sdk.modules
Class CombinedConsent.Builder
-
- All Implemented Interfaces:
public final class CombinedConsent.Builder
-
-
Constructor Summary
Constructors Constructor Description CombinedConsent.Builder()
-
Method Summary
Modifier and Type Method Description final CombinedConsent.Builder
setCombinedConsentsId(String combinedConsentsId)
Sets the ID of preconfigured combined consents. final CombinedConsent.Builder
setOfflineCombinedConsentData(CombinedConsentData offlineConsent)
Sets the offline consent data. final CombinedConsent
build()
-
-
Method Detail
-
setCombinedConsentsId
final CombinedConsent.Builder setCombinedConsentsId(String combinedConsentsId)
Sets the ID of preconfigured combined consents. This parameter will be ignored in
DELAYED
SDK mode.- Parameters:
combinedConsentsId
- the ID of combined consents.- Returns:
-
setOfflineCombinedConsentData
final CombinedConsent.Builder setOfflineCombinedConsentData(CombinedConsentData offlineConsent)
Sets the offline consent data. This parameter will be used only in
DELAYED
SDK mode.- Parameters:
offlineConsent
- Offline consent data.- Returns:
-
build
final CombinedConsent build()
-
-
-
-