Interface InstallerFactory

    • Method Detail

      • setListenerFactory

        void setListenerFactory​(@NonNull
                                InstallerFactory.StatusChangeListenerFactory listenerFactory)
        Sets the factory used to generate the list of listeners added to the generated installers/ uninstallers.
      • setFallbackFactory

        void setFallbackFactory​(@Nullable
                                InstallerFactory fallback)
        If a factory can't itself create an installer for a given package, it will try again using the given fallback, if provided. If an operation fails, the operation can contain a reference to an operation created by the fallback factory to facilitate retrying the install.