Class ApplicationInfo
- java.lang.Object
-
- com.launchdarkly.sdk.android.subsystems.ApplicationInfo
-
public final class ApplicationInfo extends java.lang.ObjectEncapsulates the SDK's application metadata.See
ApplicationInfoBuilderfor more details on these properties.- Since:
- 4.1.0
-
-
Constructor Summary
Constructors Constructor Description ApplicationInfo(java.lang.String applicationId, java.lang.String applicationVersion, java.lang.String applicationName, java.lang.String applicationVersionName)Used internally by the SDK to store application metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetApplicationId()A unique identifier representing the application where the LaunchDarkly SDK is running.java.lang.StringgetApplicationName()A human friendly name for the application in which the LaunchDarkly SDK is running.java.lang.StringgetApplicationVersion()A unique identifier representing the version of the application where the LaunchDarkly SDK is running.java.lang.StringgetApplicationVersionName()A human friendly name for the version of the application in which the LaunchDarkly SDK is running.
-
-
-
Constructor Detail
-
ApplicationInfo
public ApplicationInfo(java.lang.String applicationId, java.lang.String applicationVersion, java.lang.String applicationName, java.lang.String applicationVersionName)Used internally by the SDK to store application metadata.- Parameters:
applicationId- the application IDapplicationVersion- the application versionapplicationName- friendly name for the applicationapplicationVersionName- friendly name for the version- See Also:
ApplicationInfoBuilder
-
-
Method Detail
-
getApplicationId
@Nullable public java.lang.String getApplicationId()
A unique identifier representing the application where the LaunchDarkly SDK is running.- Returns:
- the application identifier, or null
-
getApplicationVersion
@Nullable public java.lang.String getApplicationVersion()
A unique identifier representing the version of the application where the LaunchDarkly SDK is running.- Returns:
- the application version, or null
-
getApplicationName
@Nullable public java.lang.String getApplicationName()
A human friendly name for the application in which the LaunchDarkly SDK is running.- Returns:
- the friendly name of the application, or null
-
getApplicationVersionName
@Nullable public java.lang.String getApplicationVersionName()
A human friendly name for the version of the application in which the LaunchDarkly SDK is running.- Returns:
- the friendly name of the version, or null
-
-