public interface UsesSdk
Represents the contents of a uses-sdk
element in an Android manifest file.
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxSdkVersion()
Returns the maximum Android SDK version that this package expects to be runnable on, as specified in the manifest.
|
int |
getMinSdkVersion()
Returns the minimum Android SDK version that this package expects to be runnable on, as specified in the manifest.
|
int |
getTargetSdkVersion()
Returns the Android SDK version that this package prefers to be run on, as specified in the manifest.
|
int getMinSdkVersion()
Returns the minimum Android SDK version that this package expects to be runnable on, as specified in the manifest.
int getTargetSdkVersion()
Returns the Android SDK version that this package prefers to be run on, as specified in the manifest.
Note that this value changes the behavior of some Android code (notably SharedPreferences
) to emulate old bugs.
Integer getMaxSdkVersion()
Returns the maximum Android SDK version that this package expects to be runnable on, as specified in the manifest.
If no maximum version is specified, null
may be returned.
null