public interface SplitManager
| Modifier and Type | Method and Description |
|---|---|
void |
blockUntilReady()
The SDK kicks off background threads to download data necessary
for using the SDK.
|
SplitView |
split(String featureName)
Returns the feature (or Split) registered with the SDK of this name.
|
List<String> |
splitNames()
Returns the names of features (or Splits) registered with the SDK.
|
List<SplitView> |
splits()
Retrieves the features (or Splits) that are currently registered with the
SDK.
|
List<SplitView> splits()
SplitView split(String featureName)
List<String> splitNames()
void blockUntilReady()
throws TimeoutException,
InterruptedException
If the download is not successful in the time period set on
SplitClientConfig.Builder.setBlockUntilReadyTimeout(int), a TimeoutException will be thrown.
TimeoutExceptionInterruptedExceptionCopyright © 2019. All rights reserved.