public final class BasicConfiguration
extends java.lang.Object
Constructor and Description |
---|
BasicConfiguration(java.lang.String sdkKey,
boolean offline,
int threadPriority)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSdkKey()
Returns the configured SDK key.
|
int |
getThreadPriority()
The thread priority that should be used for any worker threads created by SDK components.
|
boolean |
isOffline()
Returns true if the client was configured to be completely offline.
|
public BasicConfiguration(java.lang.String sdkKey, boolean offline, int threadPriority)
sdkKey
- the SDK keyoffline
- true if the SDK was configured to be completely offlinethreadPriority
- the thread priority that should be used for any worker threads created by SDK componentspublic java.lang.String getSdkKey()
public boolean isOffline()
LDConfig.Builder.offline(boolean)
public int getThreadPriority()
LDConfig.Builder.threadPriority(int)