- 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.
- getAlpha3() - Method in enum com.launchdarkly.android.LDCountryCode
-
Deprecated.
- 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.
- 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
Flag
s 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.
- getPollingIntervalMillis() - Method in class com.launchdarkly.android.LDConfig
-
- getPollUri() - Method in class com.launchdarkly.android.LDConfig
-
Get the currently configured base URI for polling requests.
- 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.
- secondary(String) - Method in class com.launchdarkly.android.LDUser.Builder
-
- serialize(LDFailure, Type, JsonSerializationContext) - Method in class com.launchdarkly.android.gson.LDFailureSerialization
-
Deprecated.
- setAdditionalHeaders(Map<String, String>) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Additional headers that should be added to all HTTP requests from SDK components to
LaunchDarkly services
- 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
-
- 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.
- setPollUri(Uri) - Method in class com.launchdarkly.android.LDConfig.Builder
-
Set the base URI for polling requests to LaunchDarkly.
- 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.
- 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.