Package io.didomi.sdk.location
Class CountryHelper
-
- All Implemented Interfaces:
@Singleton() public final class CountryHelper
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringcodeprivate final BooleanisGDPRCountry
-
Constructor Summary
Constructors Constructor Description CountryHelper(ConfigurationRepository configurationRepository, ConnectivityHelper connectivityHelper, HttpRequestHelper httpRequestHelper)
-
Method Summary
Modifier and Type Method Description final StringgetCode()Get the country code. final BooleanisGDPRCountry()-
-
Constructor Detail
-
CountryHelper
CountryHelper(ConfigurationRepository configurationRepository, ConnectivityHelper connectivityHelper, HttpRequestHelper httpRequestHelper)
-
-
Method Detail
-
getCode
final String getCode()
Get the country code. This can be null if we have not been able to collect the country code.
-
isGDPRCountry
final Boolean isGDPRCountry()
-
-
-
-