Class EnvironmentMetadata
java.lang.Object
com.launchdarkly.sdk.android.integrations.EnvironmentMetadata
Metadata about the environment that flag evaluations or other functionalities are being performed in.
-
Constructor Summary
ConstructorsConstructorDescriptionEnvironmentMetadata
(ApplicationInfo applicationInfo, SdkMetadata sdkMetadata, String credential) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
EnvironmentMetadata
public EnvironmentMetadata(ApplicationInfo applicationInfo, SdkMetadata sdkMetadata, String credential) - Parameters:
applicationInfo
- for the application this SDK is used insdkMetadata
- for the LaunchDarkly SDKcredential
- for authentication to LaunchDarkly endpoints for this environment
-
-
Method Details
-
getApplicationInfo
- Returns:
- the
ApplicationInfo
for the application this SDK is used in.
-
getSdkMetadata
- Returns:
- the
SdkMetadata
for the LaunchDarkly SDK.
-
getCredential
- Returns:
- the credential for authentication to LaunchDarkly endpoints for this environment
-