Class SourceInstallListener

  • All Implemented Interfaces:
    com.android.repository.api.PackageOperation.StatusChangeListener

    public class SourceInstallListener
    extends java.lang.Object
    implements com.android.repository.api.PackageOperation.StatusChangeListener
    A PackageOperation.StatusChangeListener that knows how to install and uninstall Sources packages.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void statusChanged​(com.android.repository.api.PackageOperation op, com.android.repository.api.ProgressIndicator progress)  
      • Methods inherited from class java.lang.Object

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

      • SourceInstallListener

        public SourceInstallListener​(@NonNull
                                     AndroidSdkHandler sdkHandler)
    • Method Detail

      • statusChanged

        public void statusChanged​(@NonNull
                                  com.android.repository.api.PackageOperation op,
                                  @NonNull
                                  com.android.repository.api.ProgressIndicator progress)
                           throws com.android.repository.api.PackageOperation.StatusChangeListenerException
        Specified by:
        statusChanged in interface com.android.repository.api.PackageOperation.StatusChangeListener
        Throws:
        com.android.repository.api.PackageOperation.StatusChangeListenerException