com.android.sdklib.repository.local
Class LocalPlatformPkgInfo
java.lang.Object
com.android.sdklib.repository.local.LocalPkgInfo
com.android.sdklib.repository.local.LocalPlatformPkgInfo
- All Implemented Interfaces:
- java.lang.Comparable<LocalPkgInfo>
- Direct Known Subclasses:
- LocalAddonPkgInfo
public class LocalPlatformPkgInfo
- extends LocalPkgInfo
Constructor Summary |
LocalPlatformPkgInfo(LocalSdk localSdk,
java.io.File localDir,
java.util.Properties sourceProps,
com.android.sdklib.AndroidVersion version,
com.android.repository.Revision revision,
com.android.repository.Revision minToolsRev)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PROP_VERSION_SDK
public static final java.lang.String PROP_VERSION_SDK
- See Also:
- Constant Field Values
PROP_VERSION_CODENAME
public static final java.lang.String PROP_VERSION_CODENAME
- See Also:
- Constant Field Values
PROP_VERSION_RELEASE
public static final java.lang.String PROP_VERSION_RELEASE
- See Also:
- Constant Field Values
LocalPlatformPkgInfo
public LocalPlatformPkgInfo(@NonNull
LocalSdk localSdk,
@NonNull
java.io.File localDir,
@NonNull
java.util.Properties sourceProps,
@NonNull
com.android.sdklib.AndroidVersion version,
@NonNull
com.android.repository.Revision revision,
@NonNull
com.android.repository.Revision minToolsRev)
getDesc
@NonNull
public IPkgDesc getDesc()
- Description copied from class:
LocalPkgInfo
- Returns the
IPkgDesc
describing this package.
- Specified by:
getDesc
in class LocalPkgInfo
getTargetHash
@NonNull
public java.lang.String getTargetHash()
- The "path" of a Platform is its Target Hash.
getLayoutlibApi
public int getLayoutlibApi()