Package com.launchdarkly.sdk.android
Main package for the LaunchDarkly Android SDK, containing the client and configuration classes.
You will most often use LDClient
(the SDK client) and
LDConfig
(configuration options for the client).
Other commonly used types such as LDContext
are in the com.launchdarkly.sdk
package, since those are not Android-specific and are shared with the LaunchDarkly Java server-side SDK.
-
Interface Summary Interface Description ConnectionInformation FeatureFlagChangeListener Callback interface used for listening to changes to a feature flag.LDAllFlagsListener Callback interface used for listening to changes to the flag store.LDClientInterface The interface for the LaunchDarkly SDK client.LDHeaderUpdater An interface to provide the SDK with a function used to modify HTTP headers before each request to the LaunchDarkly service.LDStatusListener -
Class Summary Class Description Components Provides configurable factories for the standard implementations of LaunchDarkly component interfaces.DataModel Contains information about the internal data model for feature flag state.DataModel.Flag Represents the state of a feature flag evaluation received from LaunchDarkly.LDAndroidLogging Allows LaunchDarkly log output to be sent directly to the native Android Log API.LDClient Client for accessing LaunchDarkly's Feature Flag system.LDConfig This class exposes advanced configuration options forLDClient
.LDConfig.Builder LDTimberLogging Allows LaunchDarkly log output to be forwarded to Timber.LDTimberLogging.Adapter A Timber implementation of theLDLogAdapter
interface. -
Enum Summary Enum Description ConnectionInformation.ConnectionMode Enumerated type defining the possible values ofConnectionInformation.getConnectionMode()
.LDFailure.FailureType Enumerated type defining the possible values ofLDFailure.getFailureType()
. -
Exception Summary Exception Description LaunchDarklyException Exception class that can be thrown by LaunchDarkly client methods.LDFailure LDInvalidResponseCodeFailure