|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductFlavor
a Product Flavor. This is only the configuration of the flavor. It does not include the sources or the dependencies. Those are available on the container or in the artifact info.
ProductFlavorContainer
,
BaseArtifact.getDependencies()
Method Summary | |
---|---|
java.lang.String |
getApplicationId()
Returns the name of the product flavor. |
java.util.Map<java.lang.String,java.lang.String> |
getManifestPlaceholders()
Returns the map of key value pairs for placeholder substitution in the android manifest file. |
ApiVersion |
getMinSdkVersion()
Returns the minSdkVersion. |
java.lang.String |
getName()
Returns the name of the flavor. |
NdkConfig |
getNdkConfig()
Returns the NDK configuration. |
boolean |
getRenderscriptNdkMode()
Returns whether the renderscript code should be compiled to generate C/C++ bindings. |
boolean |
getRenderscriptSupportMode()
Returns whether the renderscript code should be compiled in support mode to make it compatible with older versions of Android. |
int |
getRenderscriptTargetApi()
Returns the renderscript target api. |
java.util.Collection<java.lang.String> |
getResourceConfigurations()
Returns the resource configuration for this variant. |
ApiVersion |
getTargetSdkVersion()
Returns the targetSdkVersion. |
java.lang.String |
getTestApplicationId()
Returns the test application id. |
java.lang.Boolean |
getTestFunctionalTest()
Returns the functionalTest value. |
java.lang.Boolean |
getTestHandleProfiling()
Returns the handlingProfile value. |
java.lang.String |
getTestInstrumentationRunner()
Returns the test instrumentation runner. |
int |
getVersionCode()
Returns the version code. |
java.lang.String |
getVersionName()
Returns the version name. |
Methods inherited from interface com.android.builder.model.BaseConfig |
---|
getBuildConfigFields, getConsumerProguardFiles, getProguardFiles, getResValues |
Method Detail |
---|
@NonNull java.lang.String getName()
getName
in interface BaseConfig
@Nullable java.lang.String getApplicationId()
AndroidArtifact.getApplicationId()
.
int getVersionCode()
Variant.getMergedFlavor()
@Nullable java.lang.String getVersionName()
Variant.getMergedFlavor()
as well as
BuildType.getVersionNameSuffix()
@Nullable ApiVersion getMinSdkVersion()
@Nullable ApiVersion getTargetSdkVersion()
int getRenderscriptTargetApi()
boolean getRenderscriptSupportMode()
boolean getRenderscriptNdkMode()
@Nullable java.lang.String getTestApplicationId()
Variant.getExtraAndroidArtifacts()
with
AndroidProject.ARTIFACT_ANDROID_TEST
and then
AndroidArtifact.getApplicationId()
@Nullable java.lang.String getTestInstrumentationRunner()
@Nullable java.lang.Boolean getTestHandleProfiling()
@Nullable java.lang.Boolean getTestFunctionalTest()
@Nullable NdkConfig getNdkConfig()
@NonNull java.util.Collection<java.lang.String> getResourceConfigurations()
@NonNull java.util.Map<java.lang.String,java.lang.String> getManifestPlaceholders()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |