|
||||||||
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.lang.Integer |
getMaxSdkVersion()
Returns the maxSdkVersion. |
ApiVersion |
getMinSdkVersion()
Returns the minSdkVersion. |
java.lang.String |
getName()
Returns the name of the flavor. |
java.lang.Boolean |
getRenderscriptNdkModeEnabled()
Returns whether the renderscript code should be compiled to generate C/C++ bindings. |
java.lang.Boolean |
getRenderscriptSupportModeEnabled()
Returns whether the renderscript code should be compiled in support mode to make it compatible with older versions of Android. |
java.lang.Integer |
getRenderscriptTargetApi()
Returns the renderscript target api. |
java.util.Collection<java.lang.String> |
getResourceConfigurations()
Returns the resource configuration for this variant. |
SigningConfig |
getSigningConfig()
Returns the associated signing config or null if none are set on the product flavor. |
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. |
java.lang.Integer |
getVersionCode()
Returns the version code associated with this flavor or null if none have been set. |
java.lang.String |
getVersionName()
Returns the version name. |
Methods inherited from interface com.android.builder.model.BaseConfig |
---|
getBuildConfigFields, getConsumerProguardFiles, getManifestPlaceholders, getMultiDexEnabled, getProguardFiles, getResValues |
Method Detail |
---|
@NonNull java.lang.String getName()
getName
in interface BaseConfig
@Nullable java.lang.String getApplicationId()
AndroidArtifact.getApplicationId()
.
@Nullable java.lang.Integer getVersionCode()
@Nullable java.lang.String getVersionName()
Variant.getMergedFlavor()
as well as
BuildType.getVersionNameSuffix()
@Nullable ApiVersion getMinSdkVersion()
@Nullable ApiVersion getTargetSdkVersion()
@Nullable java.lang.Integer getMaxSdkVersion()
@Nullable java.lang.Integer getRenderscriptTargetApi()
@Nullable java.lang.Boolean getRenderscriptSupportModeEnabled()
@Nullable java.lang.Boolean getRenderscriptNdkModeEnabled()
@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()
@NonNull java.util.Collection<java.lang.String> getResourceConfigurations()
@Nullable SigningConfig getSigningConfig()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |