Class ApplicationInfo


  • public final class ApplicationInfo
    extends java.lang.Object
    Encapsulates the SDK's application metadata.

    See ApplicationInfoBuilder for more details on these properties.

    Since:
    5.8.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ApplicationInfo​(java.lang.String applicationId, java.lang.String applicationVersion)
      Used internally by the SDK to store application metadata.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplicationId()
      A unique identifier representing the application where the LaunchDarkly SDK is running.
      java.lang.String getApplicationVersion()
      A unique identifier representing the version of the application where the LaunchDarkly SDK is running.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApplicationInfo

        public ApplicationInfo​(java.lang.String applicationId,
                               java.lang.String applicationVersion)
        Used internally by the SDK to store application metadata.
        Parameters:
        applicationId - the application ID
        applicationVersion - the application version
        See Also:
        ApplicationInfoBuilder
    • Method Detail

      • getApplicationId

        public java.lang.String getApplicationId()
        A unique identifier representing the application where the LaunchDarkly SDK is running.
        Returns:
        the application identifier, or null
      • getApplicationVersion

        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