Package com.launchdarkly.sdk.android
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.
-
ClassDescriptionAn
IContextModifier
that will add a few context kinds with environmental information that is useful out of the box.Provides configurable factories for the standard implementations of LaunchDarkly component interfaces.Provides various information about a current or previous connection.Enumerated type defining the possible values ofConnectionInformation.getConnectionMode()
.Contains information about the internal data model for feature flag state.Represents the state of a feature flag evaluation received from LaunchDarkly.Callback interface used for listening to changes to a feature flag.Modifies contexts when invoked.Exception class that can be thrown by LaunchDarkly client methods.Callback interface used for listening to changes to the flag store.Allows LaunchDarkly log output to be sent directly to the native Android Log API.Client for accessing LaunchDarkly's Feature Flag system.The interface for the LaunchDarkly SDK client.This class exposes advanced configuration options forLDClient
.Enable / disable options for Auto Environment Attributes functionality.Container class representing a communication failure with LaunchDarkly servers.Enumerated type defining the possible values ofLDFailure.getFailureType()
.An interface to provide the SDK with a function used to modify HTTP headers before each request to the LaunchDarkly service.Container class representing a communication failure with LaunchDarkly servers in which the response was unexpected.Constants related to the SDK packageListener for various SDK state changes.Allows LaunchDarkly log output to be forwarded to Timber.A Timber implementation of theLDLogAdapter
interface.Various utility functionsContext modifier that does nothing to the context.