Class ApplicationInfo
java.lang.Object
com.launchdarkly.sdk.android.subsystems.ApplicationInfo
Encapsulates the SDK's application metadata.
See ApplicationInfoBuilder
for more details on these properties.
- Since:
- 4.1.0
-
Constructor Summary
ConstructorDescriptionApplicationInfo
(String applicationId, String applicationVersion, String applicationName, String applicationVersionName) Used internally by the SDK to store application metadata. -
Method Summary
Modifier and TypeMethodDescriptionA unique identifier representing the application where the LaunchDarkly SDK is running.A human friendly name for the application in which the LaunchDarkly SDK is running.A unique identifier representing the version of the application where the LaunchDarkly SDK is running.A human friendly name for the version of the application in which the LaunchDarkly SDK is running.
-
Constructor Details
-
ApplicationInfo
public ApplicationInfo(String applicationId, String applicationVersion, String applicationName, 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:
-
-
Method Details
-
getApplicationId
A unique identifier representing the application where the LaunchDarkly SDK is running.- Returns:
- the application identifier, or null
-
getApplicationVersion
A unique identifier representing the version of the application where the LaunchDarkly SDK is running.- Returns:
- the application version, or null
-
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
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
-