- fallthrough() - Static method in class com.launchdarkly.android.EvaluationReason
-
- FeatureFlagChangeListener - Interface in com.launchdarkly.android
-
Callback interface used for listening to changes to a feature flag.
- FeatureFlagFetcher - Interface in com.launchdarkly.android
-
- fetch(LDUser, Util.ResultCallback<JsonObject>) - Method in interface com.launchdarkly.android.FeatureFlagFetcher
-
- findByName(String) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Get a list of CountryCode
by a name regular expression.
- findByName(Pattern) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Get a list of CountryCode
by a name pattern.
- firstName(String) - Method in class com.launchdarkly.android.LDUser.Builder
-
Sets the user's first name
- Flag - Class in com.launchdarkly.android.flagstore
-
- Flag(String, JsonElement, Integer, Integer, Integer, Boolean, Long, EvaluationReason) - Constructor for class com.launchdarkly.android.flagstore.Flag
-
- FlagInterface - Interface in com.launchdarkly.android.flagstore
-
Public interface for a Flag, to be used if exposing Flag model to public API methods.
- FlagsResponse - Class in com.launchdarkly.android.response
-
Used for cases where the server sends a collection of flags as a key-value object.
- FlagsResponse(List<Flag>) - Constructor for class com.launchdarkly.android.response.FlagsResponse
-
- FlagStore - Interface in com.launchdarkly.android.flagstore
-
A FlagStore supports getting individual or collections of flag updates and updating an underlying
persistent store.
- FlagStoreFactory - Interface in com.launchdarkly.android.flagstore
-
This interface is used to provide a mechanism for a FlagStoreManager to create FlagStores without
being dependent on a concrete FlagStore class.
- FlagStoreManager - Interface in com.launchdarkly.android.flagstore
-
A FlagStoreManager is responsible for managing FlagStores for active and recently active users,
as well as providing flagKey specific update callbacks.
- FlagStoreUpdateType - Enum in com.launchdarkly.android.flagstore
-
Types of updates that a FlagStore can report
- flagToUpdate() - Method in class com.launchdarkly.android.flagstore.Flag
-
- flagToUpdate() - Method in interface com.launchdarkly.android.flagstore.FlagUpdate
-
Get the key of the flag that this FlagUpdate is intended to update.
- flagToUpdate() - Method in class com.launchdarkly.android.response.DeleteFlagResponse
-
- FlagUpdate - Interface in com.launchdarkly.android.flagstore
-
Interfaces for classes that are tied to a flagKey and can take an existing flag and determine
whether it should be updated/deleted/left the same based on its update payload.
- floatVariation(String, Float) - Method in class com.launchdarkly.android.LDClient
-
- floatVariation(String, Float) - Method in interface com.launchdarkly.android.LDClientInterface
-
Returns the flag value for the current user.
- floatVariationDetail(String, Float) - Method in class com.launchdarkly.android.LDClient
-
- floatVariationDetail(String, Float) - Method in interface com.launchdarkly.android.LDClientInterface
-
Returns the flag value for the current user, along with information about how it was calculated.
- flush() - Method in class com.launchdarkly.android.LDClient
-
- flush() - Method in interface com.launchdarkly.android.LDClientInterface
-
Sends all pending events to LaunchDarkly.
- get() - Static method in class com.launchdarkly.android.LDClient
-
- getAllFlags() - Method in interface com.launchdarkly.android.flagstore.FlagStore
-
Gets all flags currently in the store.
- getAlpha2() - Method in enum com.launchdarkly.android.LDCountryCode
-
- getAlpha3() - Method in enum com.launchdarkly.android.LDCountryCode
-
- getAssignment() - Method in enum com.launchdarkly.android.LDCountryCode
-
Get the assignment state of this country code in ISO 3166-1.
- getBackgroundPollingIntervalMillis() - Method in class com.launchdarkly.android.LDConfig
-
- getBaseUri() - Method in class com.launchdarkly.android.LDConfig
-
- getByCode(String) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Get a
CountryCode
that corresponds to the given ISO 3166-1
alpha-2 or
alpha-3 code.
- getByCode(String, boolean) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Get a
CountryCode
that corresponds to the given ISO 3166-1
alpha-2 or
alpha-3 code.
- getByCode(int) - Static method in enum com.launchdarkly.android.LDCountryCode
-
- getByCodeIgnoreCase(String) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Get a
CountryCode
that corresponds to the given ISO 3166-1
alpha-2 or
alpha-3 code.
- getByLocale(Locale) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Get a CountryCode
that corresponds to the country code of
the given Locale
instance.
- getConnectionInformation() - Method in class com.launchdarkly.android.LDClient
-
- getConnectionInformation() - Method in interface com.launchdarkly.android.LDClientInterface
-
Gets a
ConnectionInformation
object from the client representing the current state
of the clients connection.
- getConnectionMode() - Method in interface com.launchdarkly.android.ConnectionInformation
-
- getConnectionTimeoutMillis() - Method in class com.launchdarkly.android.LDConfig
-
- getCurrency() - Method in enum com.launchdarkly.android.LDCountryCode
-
Get the currency.
- getCurrentUserStore() - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
-
Gets the current user's flag store.
- getCurrentUserStore() - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
-
- getDebugEventsUntilDate() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getDefaultCipherSuites() - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
-
- getErrorKind() - Method in class com.launchdarkly.android.EvaluationReason.Error
-
- getEventsCapacity() - Method in class com.launchdarkly.android.LDConfig
-
- getEventsFlushIntervalMillis() - Method in class com.launchdarkly.android.LDConfig
-
- getEventsUri() - Method in class com.launchdarkly.android.LDConfig
-
- getFailureType() - Method in exception com.launchdarkly.android.LDFailure
-
- getFilteredEventGson() - Method in class com.launchdarkly.android.LDConfig
-
- getFlag(String) - Method in interface com.launchdarkly.android.flagstore.FlagStore
-
Get an individual flag from the store.
- getFlags() - Method in class com.launchdarkly.android.response.FlagsResponse
-
Get a list of the
Flag
s in this response
- getFlagVersion() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getFlagVersion() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
-
Getter for the flag's version.
- getForMobileKey(String) - Static method in class com.launchdarkly.android.LDClient
-
- getGson() - Static method in class com.launchdarkly.android.gson.GsonCache
-
- getKey() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getKey() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
-
Getter for flag's key
- getKind() - Method in class com.launchdarkly.android.EvaluationReason
-
Returns an enum indicating the general category of the reason.
- getLastFailedConnection() - Method in interface com.launchdarkly.android.ConnectionInformation
-
- getLastFailure() - Method in interface com.launchdarkly.android.ConnectionInformation
-
- getLastSuccessfulConnection() - Method in interface com.launchdarkly.android.ConnectionInformation
-
- getListenersByKey(String) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
-
Gets all the listeners currently registered to the given key.
- getListenersByKey(String) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
-
- getMobileKey() - Method in class com.launchdarkly.android.LDConfig
-
- getMobileKeys() - Method in class com.launchdarkly.android.LDConfig
-
- getName() - Method in enum com.launchdarkly.android.LDCountryCode
-
Get the country name.
- getNumeric() - Method in enum com.launchdarkly.android.LDCountryCode
-
- getPollingIntervalMillis() - Method in class com.launchdarkly.android.LDConfig
-
- getPrerequisiteKey() - Method in class com.launchdarkly.android.EvaluationReason.PrerequisiteFailed
-
- getPrivateAttributeNames() - Method in class com.launchdarkly.android.LDConfig
-
- getReason() - Method in class com.launchdarkly.android.EvaluationDetail
-
An object describing the main factor that influenced the flag evaluation value.
- getReason() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getReason() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
-
Getter for the flag's evaluation reason.
- getResponseCode() - Method in exception com.launchdarkly.android.LDInvalidResponseCodeFailure
-
- getRuleId() - Method in class com.launchdarkly.android.EvaluationReason.RuleMatch
-
- getRuleIndex() - Method in class com.launchdarkly.android.EvaluationReason.RuleMatch
-
- getStreamUri() - Method in class com.launchdarkly.android.LDConfig
-
- getSummaryEvent() - Method in interface com.launchdarkly.android.SummaryEventSharedPreferences
-
- getSummaryEvent() - Method in class com.launchdarkly.android.UserSummaryEventSharedPreferences
-
- getSummaryEventAndClear() - Method in interface com.launchdarkly.android.SummaryEventSharedPreferences
-
- getSummaryEventAndClear() - Method in class com.launchdarkly.android.UserSummaryEventSharedPreferences
-
- getSupportedCipherSuites() - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
-
- getTrackEvents() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getValue() - Method in class com.launchdarkly.android.EvaluationDetail
-
The result of the flag evaluation.
- getValue() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getValue() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
-
Getter for flag's value.
- getVariation() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getVariation() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
-
Getter for flag's variation.
- getVariationIndex() - Method in class com.launchdarkly.android.EvaluationDetail
-
The index of the returned value within the flag's list of variations, e.g.
- getVersion() - Method in class com.launchdarkly.android.flagstore.Flag
-
- getVersion() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
-
Getter for the flag's environment version field.
- getVersion() - Method in class com.launchdarkly.android.LDClient
-
- getVersion() - Method in interface com.launchdarkly.android.LDClientInterface
-
Returns the version of the SDK, for instance "2.7.0".
- getVersionForEvents() - Method in class com.launchdarkly.android.flagstore.Flag
-
- GsonCache - Class in com.launchdarkly.android.gson
-
- GsonCache() - Constructor for class com.launchdarkly.android.gson.GsonCache
-
- secondary(String) - Method in class com.launchdarkly.android.LDUser.Builder
-
- serialize(LDFailure, Type, JsonSerializationContext) - Method in class com.launchdarkly.android.gson.LDFailureSerialization
-
- setBackgroundPollingIntervalMillis(int) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets how often the client will poll for flag updates when your application is in the background.
- setBaseUri(Uri) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Set the base URI for connecting to LaunchDarkly.
- setConnectionTimeoutMillis(int) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets the timeout when connecting to LaunchDarkly.
- setDisableBackgroundUpdating(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets whether feature flag updates should be disabled when your app is in the background.
- setEvaluationReasons(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
-
If enabled, LaunchDarkly will provide additional information about how flag values were
calculated.
- setEventsCapacity(int) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Set the capacity of the event buffer.
- setEventsFlushIntervalMillis(int) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets the maximum amount of time to wait in between sending analytics events to LaunchDarkly.
- setEventsUri(Uri) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Set the events URI for sending analytics to LaunchDarkly.
- setInlineUsersInEvents(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
-
If enabled, events to the server will be created containing the entire User object.
- setMobileKey(String) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets the key for authenticating with LaunchDarkly.
- setOffline() - Method in class com.launchdarkly.android.LDClient
-
- setOffline() - Method in interface com.launchdarkly.android.LDClientInterface
-
Shuts down any network connections maintained by the client and puts the client in offline
mode, preventing the client from opening new network connections until
setOnline()
is called.
- setOffline(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Disables all network calls from the LaunchDarkly client.
- setOnline() - Method in class com.launchdarkly.android.LDClient
-
- setOnline() - Method in interface com.launchdarkly.android.LDClientInterface
-
Restores network connectivity for the client, if the client was previously in offline mode.
- setPollingIntervalMillis(int) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets the interval in between feature flag updates, when streaming mode is disabled.
- setPrivateAttributeNames(Set<String>) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Marks a set of attributes private.
- setSecondaryMobileKeys(Map<String, String>) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets the secondary keys for authenticating to additional LaunchDarkly environments.
- setStream(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Enables or disables real-time streaming flag updates.
- setStreamUri(Uri) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Set the stream URI for connecting to the flag update stream.
- setUseReport(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Sets the flag for choosing the REPORT api call.
- SharedPrefsFlagStoreFactory - Class in com.launchdarkly.android.flagstore.sharedprefs
-
- SharedPrefsFlagStoreFactory(Application) - Constructor for class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreFactory
-
- SharedPrefsFlagStoreManager - Class in com.launchdarkly.android.flagstore.sharedprefs
-
- SharedPrefsFlagStoreManager(Application, String, FlagStoreFactory) - Constructor for class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
-
- sharedPrefsGetAllGson(SharedPreferences, Class<T>) - Static method in class com.launchdarkly.android.Util
-
- sharedPrefsGetGson(SharedPreferences, Class<T>, String) - Static method in class com.launchdarkly.android.Util
-
- SSLHandshakeInterceptor - Class in com.launchdarkly.android.tls
-
Intercepts the SSL connection and prints TLS version and CipherSuite in the log.
- SSLHandshakeInterceptor() - Constructor for class com.launchdarkly.android.tls.SSLHandshakeInterceptor
-
- StoreUpdatedListener - Interface in com.launchdarkly.android.flagstore
-
Listener interface for receiving FlagStore update callbacks
- stringVariation(String, String) - Method in class com.launchdarkly.android.LDClient
-
- stringVariation(String, String) - Method in interface com.launchdarkly.android.LDClientInterface
-
Returns the flag value for the current user.
- stringVariationDetail(String, String) - Method in class com.launchdarkly.android.LDClient
-
- stringVariationDetail(String, String) - Method in interface com.launchdarkly.android.LDClientInterface
-
Returns the flag value for the current user, along with information about how it was calculated.
- SummaryEventSharedPreferences - Interface in com.launchdarkly.android
-
Created by jamesthacker on 4/12/18.
- switchToUser(String) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
-
Loads the FlagStore for the particular userKey.
- switchToUser(String) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
-
- valueOf(String) - Static method in enum com.launchdarkly.android.ConnectionInformation.ConnectionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.android.EvaluationReason.ErrorKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.android.EvaluationReason.Kind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.android.flagstore.FlagStoreUpdateType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.android.LDCountryCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.launchdarkly.android.LDFailure.FailureType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.launchdarkly.android.ConnectionInformation.ConnectionMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.android.EvaluationReason.ErrorKind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.android.EvaluationReason.Kind
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.android.flagstore.FlagStoreUpdateType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.android.LDCountryCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.launchdarkly.android.LDFailure.FailureType
-
Returns an array containing the constants of this enum type, in
the order they are declared.