Skip navigation links
A B C D E F G H I J L M N O P R S T U V 

A

addOrUpdateEvent(String, JsonElement, JsonElement, int, Integer) - Method in interface com.launchdarkly.android.SummaryEventSharedPreferences
Deprecated.
 
addOrUpdateEvent(String, JsonElement, JsonElement, int, Integer) - Method in class com.launchdarkly.android.UserSummaryEventSharedPreferences
Deprecated.
 
allAttributesPrivate() - Method in class com.launchdarkly.android.LDConfig
 
allAttributesPrivate() - Method in class com.launchdarkly.android.LDConfig.Builder
Specifies that user attributes (other than the key) should be hidden from LaunchDarkly.
allFlags() - Method in class com.launchdarkly.android.LDClient
 
allFlags() - Method in interface com.launchdarkly.android.LDClientInterface
Returns a map of all feature flags for the current user.
anonymous(boolean) - Method in class com.launchdarkly.android.LDUser.Builder
Sets whether this user is anonymous
applyFlagUpdate(FlagUpdate) - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Apply an individual flag update to the FlagStore.
applyFlagUpdates(List<? extends FlagUpdate>) - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Apply a list of flag updates to the FlagStore.
avatar(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's avatar

B

boolVariation(String, Boolean) - Method in class com.launchdarkly.android.LDClient
 
boolVariation(String, Boolean) - Method in interface com.launchdarkly.android.LDClientInterface
Returns the flag value for the current user.
boolVariationDetail(String, Boolean) - Method in class com.launchdarkly.android.LDClient
 
boolVariationDetail(String, Boolean) - Method in interface com.launchdarkly.android.LDClientInterface
Returns the flag value for the current user, along with information about how it was calculated.
build() - Method in class com.launchdarkly.android.LDConfig.Builder
Returns the configured LDConfig object.
build() - Method in class com.launchdarkly.android.LDUser.Builder
Build the configured LDUser object
Builder() - Constructor for class com.launchdarkly.android.LDConfig.Builder
 
Builder(String) - Constructor for class com.launchdarkly.android.LDUser.Builder
Create a builder with the specified key
Builder(LDUser) - Constructor for class com.launchdarkly.android.LDUser.Builder
 

C

call(Callable<Void>) - Method in class com.launchdarkly.android.Debounce
Deprecated.
 
clear() - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Remove all flags from the store.
clear() - Method in interface com.launchdarkly.android.SummaryEventSharedPreferences
Deprecated.
 
clear() - Method in class com.launchdarkly.android.UserSummaryEventSharedPreferences
Deprecated.
 
clearAndApplyFlagUpdates(List<? extends FlagUpdate>) - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
First removes all flags from the store, then applies a list of flag updates to the FlagStore.
close() - Method in class com.launchdarkly.android.LDClient
Closes the client.
com.launchdarkly.android - package com.launchdarkly.android
 
com.launchdarkly.android.flagstore - package com.launchdarkly.android.flagstore
 
com.launchdarkly.android.flagstore.sharedprefs - package com.launchdarkly.android.flagstore.sharedprefs
 
com.launchdarkly.android.gson - package com.launchdarkly.android.gson
 
com.launchdarkly.android.response - package com.launchdarkly.android.response
 
com.launchdarkly.android.tls - package com.launchdarkly.android.tls
 
ConnectionInformation - Interface in com.launchdarkly.android
 
ConnectionInformation.ConnectionMode - Enum in com.launchdarkly.android
Enumerated type defining the possible values of ConnectionInformation.getConnectionMode().
ConnectivityReceiver - Class in com.launchdarkly.android
Used internally by the SDK.
ConnectivityReceiver() - Constructor for class com.launchdarkly.android.ConnectivityReceiver
 
containsKey(String) - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Returns true if a flag with the key is in the store, otherwise false.
country(String) - Method in class com.launchdarkly.android.LDUser.Builder
Set the country for a user.
country(LDCountryCode) - Method in class com.launchdarkly.android.LDUser.Builder
Deprecated.
As of version 2.10.0, in 3.0.0 the SDK will no longer include the LDCountryCode class. Applications should use LDUser.Builder.country(String) instead.
createFlagStore(String) - Method in interface com.launchdarkly.android.flagstore.FlagStoreFactory
Deprecated.
Create a new flag store
createFlagStore(String) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreFactory
Deprecated.
 
createSocket(Socket, String, int, boolean) - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
createSocket(String, int) - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
createSocket(String, int, InetAddress, int) - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
createSocket(InetAddress, int) - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
createSocket(InetAddress, int, InetAddress, int) - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
custom(String, String) - Method in class com.launchdarkly.android.LDUser.Builder
Add a String-valued custom attribute.
custom(String, Number) - Method in class com.launchdarkly.android.LDUser.Builder
Add a Number-valued custom attribute.
custom(String, Boolean) - Method in class com.launchdarkly.android.LDUser.Builder
Add a Boolean-valued custom attribute.
custom(String, List<String>) - Method in class com.launchdarkly.android.LDUser.Builder
Deprecated.
As of version 0.16.0, renamed to customString
customNumber(String, List<Number>) - Method in class com.launchdarkly.android.LDUser.Builder
Add a list of Integer-valued custom attributes.
customString(String, List<String>) - Method in class com.launchdarkly.android.LDUser.Builder
Add a list of String-valued custom attributes.

D

Debounce - Class in com.launchdarkly.android
Deprecated.
Debounce() - Constructor for class com.launchdarkly.android.Debounce
Deprecated.
 
defaultTrustManager() - Static method in class com.launchdarkly.android.tls.TLSUtils
Deprecated.
 
delete() - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Delete the backing persistent store for this identifier entirely.
DeleteFlagResponse - Class in com.launchdarkly.android.response
Deprecated.
DeleteFlagResponse(String, Integer) - Constructor for class com.launchdarkly.android.response.DeleteFlagResponse
Deprecated.
 
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.launchdarkly.android.gson.LDFailureSerialization
Deprecated.
 

E

email(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's e-mail address
equals(Object) - Method in class com.launchdarkly.android.EvaluationDetail
 
equals(Object) - Method in class com.launchdarkly.android.EvaluationReason.Error
 
equals(Object) - Method in class com.launchdarkly.android.EvaluationReason.PrerequisiteFailed
 
equals(Object) - Method in class com.launchdarkly.android.EvaluationReason.RuleMatch
 
error(EvaluationReason.ErrorKind) - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of Error.
EvaluationDetail<T> - Class in com.launchdarkly.android
An object returned by the "variation detail" methods such as LDClientInterface.boolVariationDetail(String, Boolean), combining the result of a flag evaluation with an explanation of how it was calculated.
EvaluationDetail(EvaluationReason, Integer, T) - Constructor for class com.launchdarkly.android.EvaluationDetail
 
EvaluationReason - Class in com.launchdarkly.android
Describes the reason that a flag evaluation produced a particular value.
EvaluationReason(EvaluationReason.Kind) - Constructor for class com.launchdarkly.android.EvaluationReason
 
EvaluationReason.Error - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the flag could not be evaluated.
EvaluationReason.ErrorKind - Enum in com.launchdarkly.android
Enumerated type defining the possible values of EvaluationReason.Error.getErrorKind().
EvaluationReason.Fallthrough - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the flag was on but the user did not match any targets or rules.
EvaluationReason.Kind - Enum in com.launchdarkly.android
Enumerated type defining the possible values of EvaluationReason.getKind().
EvaluationReason.Off - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the flag was off and therefore returned its configured off value.
EvaluationReason.PrerequisiteFailed - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the flag was considered off because it had at least one prerequisite flag that either was off or did not return the desired variation.
EvaluationReason.RuleMatch - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the user matched one of the flag's rules.
EvaluationReason.TargetMatch - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the user key was specifically targeted for this flag.
EvaluationReason.Unknown - Class in com.launchdarkly.android
Subclass of EvaluationReason that indicates that the server sent a reason that is not supported by this version of the SDK.

F

fallthrough() - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of EvaluationReason.Fallthrough.
FeatureFlagChangeListener - Interface in com.launchdarkly.android
Callback interface used for listening to changes to a feature flag.
FeatureFlagFetcher - Interface in com.launchdarkly.android
Deprecated.
fetch(LDUser, Util.ResultCallback<JsonObject>) - Method in interface com.launchdarkly.android.FeatureFlagFetcher
Deprecated.
 
findByName(String) - Static method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
Get a list of CountryCode by a name regular expression.
findByName(Pattern) - Static method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
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
Deprecated.
Flag(String, JsonElement, Integer, Integer, Integer, Boolean, Long, EvaluationReason) - Constructor for class com.launchdarkly.android.flagstore.Flag
Deprecated.
Flag(String, JsonElement, Integer, Integer, Integer, Boolean, Boolean, Long, EvaluationReason) - Constructor for class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
FlagInterface - Interface in com.launchdarkly.android.flagstore
Deprecated.
FlagsResponse - Class in com.launchdarkly.android.response
Deprecated.
FlagsResponse(List<Flag>) - Constructor for class com.launchdarkly.android.response.FlagsResponse
Deprecated.
 
FlagStore - Interface in com.launchdarkly.android.flagstore
Deprecated.
FlagStoreFactory - Interface in com.launchdarkly.android.flagstore
Deprecated.
FlagStoreManager - Interface in com.launchdarkly.android.flagstore
Deprecated.
FlagStoreUpdateType - Enum in com.launchdarkly.android.flagstore
Deprecated.
flagToUpdate() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
flagToUpdate() - Method in interface com.launchdarkly.android.flagstore.FlagUpdate
Deprecated.
Get the key of the flag that this FlagUpdate is intended to update.
flagToUpdate() - Method in class com.launchdarkly.android.response.DeleteFlagResponse
Deprecated.
 
FlagUpdate - Interface in com.launchdarkly.android.flagstore
Deprecated.
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.

G

get() - Static method in class com.launchdarkly.android.LDClient
 
getAllFlags() - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Gets all flags currently in the store.
getAlpha2() - Method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
Get the ISO 3166-1 alpha-2 code.
getAlpha3() - Method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
Get the ISO 3166-1 alpha-3 code.
getAssignment() - Method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
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
Deprecated.
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
Deprecated.
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
Deprecated.
Get a CountryCode that corresponds to the given ISO 3166-1 numeric code.
getByCodeIgnoreCase(String) - Static method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
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
Deprecated.
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
Deprecated.
Get the currency.
getCurrentUserStore() - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
Deprecated.
Gets the current user's flag store.
getCurrentUserStore() - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
getDebugEventsUntilDate() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
getDefaultCipherSuites() - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
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
Deprecated.
Get an individual flag from the store.
getFlags() - Method in class com.launchdarkly.android.response.FlagsResponse
Deprecated.
Get a list of the Flags in this response
getFlagVersion() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
getFlagVersion() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
Deprecated.
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
Deprecated.
 
getKey() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
getKey() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
Deprecated.
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
Deprecated.
Gets all the listeners currently registered to the given key.
getListenersByKey(String) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
getMobileKey() - Method in class com.launchdarkly.android.LDConfig
 
getMobileKeys() - Method in class com.launchdarkly.android.LDConfig
 
getName() - Method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
Get the country name.
getNumeric() - Method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
Get the ISO 3166-1 numeric code.
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
Deprecated.
 
getReason() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
Deprecated.
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
Deprecated.
 
getSummaryEvent() - Method in class com.launchdarkly.android.UserSummaryEventSharedPreferences
Deprecated.
 
getSummaryEventAndClear() - Method in interface com.launchdarkly.android.SummaryEventSharedPreferences
Deprecated.
 
getSummaryEventAndClear() - Method in class com.launchdarkly.android.UserSummaryEventSharedPreferences
Deprecated.
 
getSupportedCipherSuites() - Method in class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 
getTrackEvents() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
getValue() - Method in class com.launchdarkly.android.EvaluationDetail
The result of the flag evaluation.
getValue() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
getValue() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
Deprecated.
Getter for flag's value.
getVariation() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
getVariation() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
Deprecated.
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
Deprecated.
 
getVersion() - Method in interface com.launchdarkly.android.flagstore.FlagInterface
Deprecated.
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
Deprecated.
 
GsonCache - Class in com.launchdarkly.android.gson
Deprecated.
GsonCache() - Constructor for class com.launchdarkly.android.gson.GsonCache
Deprecated.
 

H

hashCode() - Method in class com.launchdarkly.android.EvaluationDetail
 
hashCode() - Method in class com.launchdarkly.android.EvaluationReason.Error
 
hashCode() - Method in class com.launchdarkly.android.EvaluationReason.PrerequisiteFailed
 
hashCode() - Method in class com.launchdarkly.android.EvaluationReason.RuleMatch
 

I

identify(LDUser) - Method in class com.launchdarkly.android.LDClient
 
identify(LDUser) - Method in interface com.launchdarkly.android.LDClientInterface
Sets the current user, retrieves flags for that user, then sends an Identify Event to LaunchDarkly.
init(Application, LDConfig, LDUser) - Static method in class com.launchdarkly.android.LDClient
Initializes the singleton/primary instance.
init(Application, LDConfig, LDUser, int) - Static method in class com.launchdarkly.android.LDClient
Initializes the singleton instance and blocks for up to startWaitSeconds seconds until the client has been initialized.
inlineUsersInEvents() - Method in class com.launchdarkly.android.LDConfig
 
intercept(Interceptor.Chain) - Method in class com.launchdarkly.android.tls.SSLHandshakeInterceptor
Deprecated.
 
intVariation(String, Integer) - Method in class com.launchdarkly.android.LDClient
 
intVariation(String, Integer) - Method in interface com.launchdarkly.android.LDClientInterface
Returns the flag value for the current user.
intVariationDetail(String, Integer) - Method in class com.launchdarkly.android.LDClient
 
intVariationDetail(String, Integer) - Method in interface com.launchdarkly.android.LDClientInterface
Returns the flag value for the current user, along with information about how it was calculated.
ip(String) - Method in class com.launchdarkly.android.LDUser.Builder
Set the IP for a user
isDefaultValue() - Method in class com.launchdarkly.android.EvaluationDetail
Returns true if the flag evaluation returned the default value, rather than one of the flag's variations.
isDisableBackgroundPolling() - Method in class com.launchdarkly.android.LDClient
 
isDisableBackgroundPolling() - Method in interface com.launchdarkly.android.LDClientInterface
Checks whether LDConfig.Builder.setDisableBackgroundUpdating(boolean) was set to true in the configuration.
isDisableBackgroundPolling() - Method in class com.launchdarkly.android.LDConfig
 
isEvaluationReasons() - Method in class com.launchdarkly.android.LDConfig
 
isInitialized() - Method in class com.launchdarkly.android.LDClient
 
isInitialized() - Method in interface com.launchdarkly.android.LDClientInterface
Checks whether the client is ready to return feature flag values.
isOffline() - Method in class com.launchdarkly.android.LDClient
 
isOffline() - Method in interface com.launchdarkly.android.LDClientInterface
Checks whether the client has been put into offline mode.
isOffline() - Method in class com.launchdarkly.android.LDConfig
 
isRetryable() - Method in exception com.launchdarkly.android.LDInvalidResponseCodeFailure
 
isStream() - Method in class com.launchdarkly.android.LDConfig
 
isTrackReason() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
isUseReport() - Method in class com.launchdarkly.android.LDConfig
 
isVersionMissing() - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 

J

jsonVariation(String, JsonElement) - Method in class com.launchdarkly.android.LDClient
 
jsonVariation(String, JsonElement) - Method in interface com.launchdarkly.android.LDClientInterface
Returns the flag value for the current user.
jsonVariationDetail(String, JsonElement) - Method in class com.launchdarkly.android.LDClient
 
jsonVariationDetail(String, JsonElement) - Method in interface com.launchdarkly.android.LDClientInterface
Returns the flag value for the current user, along with information about how it was calculated.

L

lastName(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's last name
LaunchDarklyException - Exception in com.launchdarkly.android
Exception class that can be thrown by LaunchDarkly client methods.
LaunchDarklyException(String) - Constructor for exception com.launchdarkly.android.LaunchDarklyException
 
LDAllFlagsListener - Interface in com.launchdarkly.android
Callback interface used for listening to changes to the flag store.
LDClient - Class in com.launchdarkly.android
Client for accessing LaunchDarkly's Feature Flag system.
LDClient(Application, LDConfig) - Constructor for class com.launchdarkly.android.LDClient
 
LDClient(Application, LDConfig, String) - Constructor for class com.launchdarkly.android.LDClient
 
LDClientInterface - Interface in com.launchdarkly.android
The interface for the LaunchDarkly SDK client.
LDConfig - Class in com.launchdarkly.android
This class exposes advanced configuration options for LDClient.
LDConfig.Builder - Class in com.launchdarkly.android
A builder that helps construct LDConfig objects.
LDCountryCode - Enum in com.launchdarkly.android
Deprecated.
LDFailure - Exception in com.launchdarkly.android
 
LDFailure(String, LDFailure.FailureType) - Constructor for exception com.launchdarkly.android.LDFailure
 
LDFailure(String, Throwable, LDFailure.FailureType) - Constructor for exception com.launchdarkly.android.LDFailure
 
LDFailure.FailureType - Enum in com.launchdarkly.android
Enumerated type defining the possible values of LDFailure.getFailureType().
LDFailureSerialization - Class in com.launchdarkly.android.gson
Deprecated.
LDFailureSerialization() - Constructor for class com.launchdarkly.android.gson.LDFailureSerialization
Deprecated.
 
LDInvalidResponseCodeFailure - Exception in com.launchdarkly.android
 
LDInvalidResponseCodeFailure(String, int, boolean) - Constructor for exception com.launchdarkly.android.LDInvalidResponseCodeFailure
 
LDInvalidResponseCodeFailure(String, Throwable, int, boolean) - Constructor for exception com.launchdarkly.android.LDInvalidResponseCodeFailure
 
LDStatusListener - Interface in com.launchdarkly.android
 
LDUser - Class in com.launchdarkly.android
A LDUser object contains specific attributes for a user of your application.
LDUser(LDUser.Builder) - Constructor for class com.launchdarkly.android.LDUser
 
LDUser.Builder - Class in com.launchdarkly.android
A builder that helps construct LDUser objects.

M

ModernTLSSocketFactory - Class in com.launchdarkly.android.tls
Deprecated.
ModernTLSSocketFactory() - Constructor for class com.launchdarkly.android.tls.ModernTLSSocketFactory
Deprecated.
 

N

name(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's full name

O

objectsEqual(T, T) - Static method in class com.launchdarkly.android.Util
Deprecated.
 
off() - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of EvaluationReason.Off.
onChange(List<String>) - Method in interface com.launchdarkly.android.LDAllFlagsListener
Called by the SDK whenever it receives an update for the stored flag values of the current user.
onConnectionModeChanged(ConnectionInformation) - Method in interface com.launchdarkly.android.LDStatusListener
 
onError(Throwable) - Method in interface com.launchdarkly.android.Util.ResultCallback
Deprecated.
 
onFeatureFlagChange(String) - Method in interface com.launchdarkly.android.FeatureFlagChangeListener
The SDK calls this method when a feature flag value has changed for the current user.
onInternalFailure(LDFailure) - Method in interface com.launchdarkly.android.LDStatusListener
 
onReceive(Context, Intent) - Method in class com.launchdarkly.android.ConnectivityReceiver
 
onReceive(Context, Intent) - Method in class com.launchdarkly.android.PollingUpdater
 
onStoreUpdate(List<Pair<String, FlagStoreUpdateType>>) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
onStoreUpdate(List<Pair<String, FlagStoreUpdateType>>) - Method in interface com.launchdarkly.android.flagstore.StoreUpdatedListener
Deprecated.
Called by a FlagStore when the store is updated.
onSuccess(T) - Method in interface com.launchdarkly.android.Util.ResultCallback
Deprecated.
 

P

patchTLSIfNeeded(Application) - Static method in class com.launchdarkly.android.tls.TLSUtils
Deprecated.
 
PollingUpdater - Class in com.launchdarkly.android
Used internally by the SDK.
PollingUpdater() - Constructor for class com.launchdarkly.android.PollingUpdater
 
prerequisiteFailed(String) - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of EvaluationReason.PrerequisiteFailed.
privateAvatar(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's avatar.
privateCountry(String) - Method in class com.launchdarkly.android.LDUser.Builder
Set the country for a user.
privateCountry(LDCountryCode) - Method in class com.launchdarkly.android.LDUser.Builder
Deprecated.
As of version 2.10.0, in 3.0.0 the SDK will no longer include the LDCountryCode class. Applications should use LDUser.Builder.privateCountry(String) instead.
privateCustom(String, String) - Method in class com.launchdarkly.android.LDUser.Builder
Add a String-valued custom attribute.
privateCustom(String, Number) - Method in class com.launchdarkly.android.LDUser.Builder
Add a Number-valued custom attribute.
privateCustom(String, Boolean) - Method in class com.launchdarkly.android.LDUser.Builder
Add a Boolean-valued custom attribute.
privateCustomNumber(String, List<Number>) - Method in class com.launchdarkly.android.LDUser.Builder
Add a list of Integer-valued custom attributes.
privateCustomString(String, List<String>) - Method in class com.launchdarkly.android.LDUser.Builder
Add a list of String-valued custom attributes.
privateEmail(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's e-mail address.
privateFirstName(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's first name.
privateIp(String) - Method in class com.launchdarkly.android.LDUser.Builder
Set the IP for a user.
privateLastName(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's last name.
privateName(String) - Method in class com.launchdarkly.android.LDUser.Builder
Sets the user's full name.
privateSecondary(String) - Method in class com.launchdarkly.android.LDUser.Builder
 

R

registerAllFlagsListener(LDAllFlagsListener) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
Deprecated.
Register a listener to be called whenever new flag data is received.
registerAllFlagsListener(LDAllFlagsListener) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
registerAllFlagsListener(LDAllFlagsListener) - Method in class com.launchdarkly.android.LDClient
 
registerAllFlagsListener(LDAllFlagsListener) - Method in interface com.launchdarkly.android.LDClientInterface
Registers a LDAllFlagsListener to be called when a flag update is processed by the SDK.
registerFeatureFlagListener(String, FeatureFlagChangeListener) - Method in class com.launchdarkly.android.LDClient
 
registerFeatureFlagListener(String, FeatureFlagChangeListener) - Method in interface com.launchdarkly.android.LDClientInterface
Registers a FeatureFlagChangeListener to be called when the flagKey changes from its current value.
registerListener(String, FeatureFlagChangeListener) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
Deprecated.
Register a listener to be called when a flag with the given key is created or updated.
registerListener(String, FeatureFlagChangeListener) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
registerOnStoreUpdatedListener(StoreUpdatedListener) - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Register a listener to be called on any updates to the store.
registerStatusListener(LDStatusListener) - Method in class com.launchdarkly.android.LDClient
 
registerStatusListener(LDStatusListener) - Method in interface com.launchdarkly.android.LDClientInterface
Registers a LDStatusListener to be called on connection status updates.
ruleMatch(int, String) - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of EvaluationReason.RuleMatch.

S

secondary(String) - Method in class com.launchdarkly.android.LDUser.Builder
 
serialize(LDFailure, Type, JsonSerializationContext) - Method in class com.launchdarkly.android.gson.LDFailureSerialization
Deprecated.
 
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.
setDiagnosticOptOut(boolean) - Method in class com.launchdarkly.android.LDConfig.Builder
Set to true to opt out of sending diagnostics data.
setDiagnosticRecordingIntervalMillis(int) - Method in class com.launchdarkly.android.LDConfig.Builder
Sets the interval at which periodic diagnostic data is sent.
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.
setMaxCachedUsers(int) - Method in class com.launchdarkly.android.LDConfig.Builder
Sets the maximum number of users to cache the flag values for locally in the device's SharedPreferences.
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.
setWrapperName(String) - Method in class com.launchdarkly.android.LDConfig.Builder
For use by wrapper libraries to set an identifying name for the wrapper being used.
setWrapperVersion(String) - Method in class com.launchdarkly.android.LDConfig.Builder
For use by wrapper libraries to report the version of the library in use.
SharedPrefsFlagStoreFactory - Class in com.launchdarkly.android.flagstore.sharedprefs
Deprecated.
SharedPrefsFlagStoreFactory(Application) - Constructor for class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreFactory
Deprecated.
 
SharedPrefsFlagStoreManager - Class in com.launchdarkly.android.flagstore.sharedprefs
Deprecated.
SharedPrefsFlagStoreManager(Application, String, FlagStoreFactory) - Constructor for class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
sharedPrefsGetAllGson(SharedPreferences, Class<T>) - Static method in class com.launchdarkly.android.Util
Deprecated.
 
sharedPrefsGetGson(SharedPreferences, Class<T>, String) - Static method in class com.launchdarkly.android.Util
Deprecated.
 
SSLHandshakeInterceptor - Class in com.launchdarkly.android.tls
Deprecated.
SSLHandshakeInterceptor() - Constructor for class com.launchdarkly.android.tls.SSLHandshakeInterceptor
Deprecated.
 
StoreUpdatedListener - Interface in com.launchdarkly.android.flagstore
Deprecated.
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
Deprecated.
switchToUser(String) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
Deprecated.
Loads the FlagStore for the particular userKey.
switchToUser(String) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 

T

targetMatch() - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of EvaluationReason.TargetMatch.
TLSUtils - Class in com.launchdarkly.android.tls
Deprecated.
TLSUtils() - Constructor for class com.launchdarkly.android.tls.TLSUtils
Deprecated.
 
toLocale() - Method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
Convert this CountryCode instance to a Locale instance.
toString() - Method in class com.launchdarkly.android.EvaluationDetail
 
toString() - Method in class com.launchdarkly.android.EvaluationReason.Error
 
toString() - Method in class com.launchdarkly.android.EvaluationReason.PrerequisiteFailed
 
toString() - Method in class com.launchdarkly.android.EvaluationReason.RuleMatch
 
toString() - Method in class com.launchdarkly.android.EvaluationReason
 
track(String, JsonElement, Double) - Method in class com.launchdarkly.android.LDClient
 
track(String, JsonElement) - Method in class com.launchdarkly.android.LDClient
 
track(String) - Method in class com.launchdarkly.android.LDClient
 
track(String, JsonElement, Double) - Method in interface com.launchdarkly.android.LDClientInterface
Tracks that a user performed an event.
track(String, JsonElement) - Method in interface com.launchdarkly.android.LDClientInterface
Tracks that a user performed an event.
track(String) - Method in interface com.launchdarkly.android.LDClientInterface
Tracks that a user performed an event.

U

unknown() - Static method in class com.launchdarkly.android.EvaluationReason
Returns an instance of EvaluationReason.Unknown.
unregisterAllFlagsListener(LDAllFlagsListener) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
Deprecated.
Unregister a listener previously registered with registerAllFlagsListener.
unregisterAllFlagsListener(LDAllFlagsListener) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
unregisterAllFlagsListener(LDAllFlagsListener) - Method in class com.launchdarkly.android.LDClient
 
unregisterAllFlagsListener(LDAllFlagsListener) - Method in interface com.launchdarkly.android.LDClientInterface
Unregisters a LDAllFlagsListener so it will no longer be called on flag updates.
unregisterFeatureFlagListener(String, FeatureFlagChangeListener) - Method in class com.launchdarkly.android.LDClient
 
unregisterFeatureFlagListener(String, FeatureFlagChangeListener) - Method in interface com.launchdarkly.android.LDClientInterface
Unregisters a FeatureFlagChangeListener for the flagKey.
unRegisterListener(String, FeatureFlagChangeListener) - Method in interface com.launchdarkly.android.flagstore.FlagStoreManager
Deprecated.
Unregister a specific listener registered to the given key.
unRegisterListener(String, FeatureFlagChangeListener) - Method in class com.launchdarkly.android.flagstore.sharedprefs.SharedPrefsFlagStoreManager
Deprecated.
 
unregisterOnStoreUpdatedListener() - Method in interface com.launchdarkly.android.flagstore.FlagStore
Deprecated.
Remove the currently registered listener if one exists.
unregisterStatusListener(LDStatusListener) - Method in class com.launchdarkly.android.LDClient
 
unregisterStatusListener(LDStatusListener) - Method in interface com.launchdarkly.android.LDClientInterface
Unregisters a LDStatusListener so it will no longer be called on connection status updates.
updateFlag(Flag) - Method in class com.launchdarkly.android.flagstore.Flag
Deprecated.
 
updateFlag(Flag) - Method in interface com.launchdarkly.android.flagstore.FlagUpdate
Deprecated.
Given an existing Flag retrieved by the flagKey returned by flagToUpdate(), updateFlag should return null if the flag is to be deleted, a new Flag if the flag should be replaced by the new Flag, or the before Flag if the flag should be left the same.
updateFlag(Flag) - Method in class com.launchdarkly.android.response.DeleteFlagResponse
Deprecated.
Returns null to signal deletion of the flag if this update is valid on the supplied flag, otherwise returns the existing flag.
UserSummaryEventSharedPreferences - Class in com.launchdarkly.android
Deprecated.
Util - Class in com.launchdarkly.android
Deprecated.
Util() - Constructor for class com.launchdarkly.android.Util
Deprecated.
 
Util.ResultCallback<T> - Interface in com.launchdarkly.android
Deprecated.

V

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
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.launchdarkly.android.LDCountryCode
Deprecated.
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
Deprecated.
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
Deprecated.
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.
A B C D E F G H I J L M N O P R S T U V 
Skip navigation links