public interface FlagsmithSdk
| Modifier and Type | Method and Description |
|---|---|
default void |
assertValidUser(@NonNull String identifier)
validate user has a valid identifier.
|
default FlagsmithCache |
getCache() |
FlagsmithConfig |
getConfig() |
EnvironmentModel |
getEnvironment() |
Flags |
getFeatureFlags(boolean doThrow) |
RequestProcessor |
getRequestor() |
Flags |
identifyUserWithTraits(String identifier,
List<TraitModel> traits,
boolean doThrow) |
okhttp3.Request |
newGetRequest(okhttp3.HttpUrl url) |
okhttp3.Request |
newPostRequest(okhttp3.HttpUrl url,
okhttp3.RequestBody body) |
Flags getFeatureFlags(boolean doThrow)
Flags identifyUserWithTraits(String identifier, List<TraitModel> traits, boolean doThrow)
FlagsmithConfig getConfig()
EnvironmentModel getEnvironment()
RequestProcessor getRequestor()
okhttp3.Request newGetRequest(okhttp3.HttpUrl url)
okhttp3.Request newPostRequest(okhttp3.HttpUrl url,
okhttp3.RequestBody body)
default FlagsmithCache getCache()
default void assertValidUser(@NonNull
@NonNull String identifier)
identifier - user identifierCopyright © 2022. All rights reserved.