Package com.launchdarkly.sdk.android
Class LDConfig
- java.lang.Object
-
- com.launchdarkly.sdk.android.LDConfig
-
public class LDConfig extends java.lang.Object
This class exposes advanced configuration options forLDClient
. Instances of this class must be constructed withLDConfig.Builder
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LDConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_BACKGROUND_POLL_INTERVAL_MILLIS
The default value forStreamingDataSourceBuilder.backgroundPollIntervalMillis(int)
andPollingDataSourceBuilder.backgroundPollIntervalMillis(int)
: one hour.static int
MIN_BACKGROUND_POLL_INTERVAL_MILLIS
The minimum value forStreamingDataSourceBuilder.backgroundPollIntervalMillis(int)
andPollingDataSourceBuilder.backgroundPollIntervalMillis(int)
: 15 minutes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMobileKey()
java.util.Map<java.lang.String,java.lang.String>
getMobileKeys()
boolean
isAutoEnvAttributes()
boolean
isDisableBackgroundPolling()
boolean
isEvaluationReasons()
boolean
isGenerateAnonymousKeys()
boolean
isOffline()
-
-
-
Field Detail
-
DEFAULT_BACKGROUND_POLL_INTERVAL_MILLIS
public static final int DEFAULT_BACKGROUND_POLL_INTERVAL_MILLIS
The default value forStreamingDataSourceBuilder.backgroundPollIntervalMillis(int)
andPollingDataSourceBuilder.backgroundPollIntervalMillis(int)
: one hour.- See Also:
- Constant Field Values
-
MIN_BACKGROUND_POLL_INTERVAL_MILLIS
public static final int MIN_BACKGROUND_POLL_INTERVAL_MILLIS
The minimum value forStreamingDataSourceBuilder.backgroundPollIntervalMillis(int)
andPollingDataSourceBuilder.backgroundPollIntervalMillis(int)
: 15 minutes.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMobileKey
public java.lang.String getMobileKey()
-
getMobileKeys
public java.util.Map<java.lang.String,java.lang.String> getMobileKeys()
-
isOffline
public boolean isOffline()
-
isDisableBackgroundPolling
public boolean isDisableBackgroundPolling()
-
isEvaluationReasons
public boolean isEvaluationReasons()
-
isGenerateAnonymousKeys
public boolean isGenerateAnonymousKeys()
-
isAutoEnvAttributes
public boolean isAutoEnvAttributes()
-
-