com.android.repository.api
Interface LocalPackage
- All Superinterfaces:
- java.lang.Comparable<RepoPackage>, RepoPackage
- All Known Implementing Classes:
- FakePackage, LocalPackage, LocalPackageImpl
public interface LocalPackage
- extends RepoPackage
A locally-installed package. In addition to what's provided by RepoPackage,
LocalPackage has an actual location on disk.
|
Method Summary |
java.io.File |
getLocation()
Gets the installed location of this package. |
void |
setInstalledPath(java.io.File root)
Specifies the path at which this package is installed. |
| Methods inherited from interface java.lang.Comparable |
compareTo |
getLocation
@NonNull
java.io.File getLocation()
- Gets the installed location of this package.
setInstalledPath
void setInstalledPath(@NonNull
java.io.File root)
- Specifies the path at which this package is installed. This should be called
directly after the package is created.