public interface InstantRun
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_NOT_SUPPORTED_FOR_EXPERIMENTAL_PLUGIN
Instant Run is currently disabled for the experimental plugin.
|
static int |
STATUS_NOT_SUPPORTED_FOR_EXTERNAL_NATIVE_BUILD
Instant Run currently does not support projects with external native build system.
|
static int |
STATUS_NOT_SUPPORTED_FOR_JACK
Instant Run is not supported when Jack is used.
|
static int |
STATUS_NOT_SUPPORTED_FOR_MULTI_APK
Instant Run is currently disabled for multi-apk applications (http://b/77685496)
|
static int |
STATUS_NOT_SUPPORTED_FOR_NON_DEBUG_VARIANT
Instant Run is not supported for non-debug build variants.
|
static int |
STATUS_NOT_SUPPORTED_VARIANT_USED_FOR_TESTING
Instant Run is not supported because the variant is used for testing.
|
static int |
STATUS_SUPPORTED
Instant Run is supported.
|
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getInfoFile()
Returns the last incremental build information, including success or failure, verifier
reason for requesting a restart, etc...
|
int |
getSupportStatus()
Returns a status code indicating whether Instant Run is supported and why.
|
boolean |
isSupportedByArtifact()
Whether the owner artifact supports Instant Run.
|
static final int STATUS_SUPPORTED
static final int STATUS_NOT_SUPPORTED_FOR_NON_DEBUG_VARIANT
static final int STATUS_NOT_SUPPORTED_VARIANT_USED_FOR_TESTING
static final int STATUS_NOT_SUPPORTED_FOR_JACK
static final int STATUS_NOT_SUPPORTED_FOR_EXTERNAL_NATIVE_BUILD
static final int STATUS_NOT_SUPPORTED_FOR_EXPERIMENTAL_PLUGIN
static final int STATUS_NOT_SUPPORTED_FOR_MULTI_APK
@NonNull java.io.File getInfoFile()
boolean isSupportedByArtifact()
int getSupportStatus()