Class ApplicationVersionSignature


  • public final class ApplicationVersionSignature
    extends java.lang.Object
    A utility class for obtaining a Key signature containing the application version name using PackageInfo.versionCode.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Key obtain​(android.content.Context context)
      Returns the signature Key for version code of the Application of the given Context.
      • Methods inherited from class java.lang.Object

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

      • obtain

        @NonNull
        public static Key obtain​(@NonNull
                                 android.content.Context context)
        Returns the signature Key for version code of the Application of the given Context.