Class SdkInstallListenerFactory
- java.lang.Object
-
- com.android.sdklib.repository.installer.SdkInstallListenerFactory
-
- All Implemented Interfaces:
com.android.repository.api.InstallerFactory.StatusChangeListenerFactory
public class SdkInstallListenerFactory extends java.lang.Object implements com.android.repository.api.InstallerFactory.StatusChangeListenerFactoryInstallerFactory.StatusChangeListenerFactorythat returns the appropriate set of listeners for the given package.
-
-
Constructor Summary
Constructors Constructor Description SdkInstallListenerFactory(AndroidSdkHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.android.repository.api.PackageOperation.StatusChangeListener>createListeners(com.android.repository.api.RepoPackage p)protected AndroidSdkHandlergetSdkHandler()
-
-
-
Constructor Detail
-
SdkInstallListenerFactory
public SdkInstallListenerFactory(@NonNull AndroidSdkHandler handler)
-
-
Method Detail
-
createListeners
@NonNull public java.util.List<com.android.repository.api.PackageOperation.StatusChangeListener> createListeners(@NonNull com.android.repository.api.RepoPackage p)- Specified by:
createListenersin interfacecom.android.repository.api.InstallerFactory.StatusChangeListenerFactory
-
getSdkHandler
@NonNull protected AndroidSdkHandler getSdkHandler()
-
-