Class AndroidVersionService

java.lang.Object
com.gluonhq.attach.version.impl.AndroidVersionService
All Implemented Interfaces:
VersionService

public class AndroidVersionService extends Object implements VersionService
  • Constructor Details

    • AndroidVersionService

      public AndroidVersionService()
  • Method Details

    • getVersionNumber

      public String getVersionNumber()
      Description copied from interface: VersionService
      Retrieves the current version number of the application, which is typically visible to the users.
      Specified by:
      getVersionNumber in interface VersionService
      Returns:
      A string with information of the public version of the application, or -1 if unknown
    • getBuildNumber

      public String getBuildNumber()
      Description copied from interface: VersionService
      Retrieves the current internal build number of the application, which is typically not shown to the users
      Specified by:
      getBuildNumber in interface VersionService
      Returns:
      A string with information of the internal version of the application, or -1 if unknown