Class EnvironmentMetadata

java.lang.Object
com.launchdarkly.sdk.android.integrations.EnvironmentMetadata

public final class EnvironmentMetadata extends Object
Metadata about the environment that flag evaluations or other functionalities are being performed in.
  • Constructor Details

    • EnvironmentMetadata

      public EnvironmentMetadata(ApplicationInfo applicationInfo, SdkMetadata sdkMetadata, String credential)
      Parameters:
      applicationInfo - for the application this SDK is used in
      sdkMetadata - for the LaunchDarkly SDK
      credential - for authentication to LaunchDarkly endpoints for this environment
  • Method Details

    • getApplicationInfo

      public ApplicationInfo getApplicationInfo()
      Returns:
      the ApplicationInfo for the application this SDK is used in.
    • getSdkMetadata

      public SdkMetadata getSdkMetadata()
      Returns:
      the SdkMetadata for the LaunchDarkly SDK.
    • getCredential

      public String getCredential()
      Returns:
      the credential for authentication to LaunchDarkly endpoints for this environment