-
public final class RemoteConfigRemote SDK configuration from server
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRemoteConfig.FeatureFlagspublic final classRemoteConfig.Endpointspublic final classRemoteConfig.PushConfigpublic final classRemoteConfig.InAppConfigpublic final classRemoteConfig.ConsentConfig
-
Field Summary
Fields Modifier and Type Field Description private final IntegerbatchSizeprivate final IntegerflushIntervalprivate final List<String>blockEventsprivate final DoublesamplingRateprivate final RemoteConfig.FeatureFlagsfeaturesprivate final RemoteConfig.Endpointsendpointsprivate final Stringversionprivate final RemoteConfig.PushConfigpushprivate final RemoteConfig.InAppConfiginAppprivate final RemoteConfig.ConsentConfigconsent
-
Constructor Summary
Constructors Constructor Description RemoteConfig(Integer batchSize, Integer flushInterval, List<String> blockEvents, Double samplingRate, RemoteConfig.FeatureFlags features, RemoteConfig.Endpoints endpoints, String version, RemoteConfig.PushConfig push, RemoteConfig.InAppConfig inApp, RemoteConfig.ConsentConfig consent)
-
Method Summary
Modifier and Type Method Description final IntegergetBatchSize()final IntegergetFlushInterval()final List<String>getBlockEvents()final DoublegetSamplingRate()final RemoteConfig.FeatureFlagsgetFeatures()final RemoteConfig.EndpointsgetEndpoints()final StringgetVersion()final RemoteConfig.PushConfiggetPush()final RemoteConfig.InAppConfiggetInApp()final RemoteConfig.ConsentConfiggetConsent()final BooleanisEventBlocked(String eventName)final BooleanshouldSampleEvent()-
-
Constructor Detail
-
RemoteConfig
RemoteConfig(Integer batchSize, Integer flushInterval, List<String> blockEvents, Double samplingRate, RemoteConfig.FeatureFlags features, RemoteConfig.Endpoints endpoints, String version, RemoteConfig.PushConfig push, RemoteConfig.InAppConfig inApp, RemoteConfig.ConsentConfig consent)
-
-
Method Detail
-
getBatchSize
final Integer getBatchSize()
-
getFlushInterval
final Integer getFlushInterval()
-
getBlockEvents
final List<String> getBlockEvents()
-
getSamplingRate
final Double getSamplingRate()
-
getFeatures
final RemoteConfig.FeatureFlags getFeatures()
-
getEndpoints
final RemoteConfig.Endpoints getEndpoints()
-
getVersion
final String getVersion()
-
getPush
final RemoteConfig.PushConfig getPush()
-
getInApp
final RemoteConfig.InAppConfig getInApp()
-
getConsent
final RemoteConfig.ConsentConfig getConsent()
-
isEventBlocked
final Boolean isEventBlocked(String eventName)
-
shouldSampleEvent
final Boolean shouldSampleEvent()
-
-
-
-