web/static/javadoc/5.2.1/org/acra/annotation/AcraScheduler.html
org.acra.annotation
[@Documented](http://d.android.com/reference/java/lang/annotation/Documented.html?is-external=true "class or interface in java.lang.annotation")[@Retention](http://d.android.com/reference/java/lang/annotation/Retention.html?is-external=true "class or interface in java.lang.annotation")([value](http://d.android.com/reference/java/lang/annotation/Retention.html?is-external=true#value-- "class or interface in java.lang.annotation")=[RUNTIME](http://d.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME "class or interface in java.lang.annotation"))[@Target](http://d.android.com/reference/java/lang/annotation/Target.html?is-external=true "class or interface in java.lang.annotation")([value](http://d.android.com/reference/java/lang/annotation/Target.html?is-external=true#value-- "class or interface in java.lang.annotation")=[TYPE](http://d.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE "class or interface in java.lang.annotation"))[@Inherited](http://d.android.com/reference/java/lang/annotation/Inherited.html?is-external=true "class or interface in java.lang.annotation")public @interfaceAcraScheduler
Since:18.04.18
Fields | Modifier and Type | Fields and Description |
| --- | --- |
| static String | EXTRA_APP_RESTARTED |
Optional Elements | Modifier and Type | Optional Element and Description |
| --- | --- |
| boolean | requiresBatteryNotLow
Battery constraint for report sending
|
| boolean | requiresCharging
Charging constraint for report sending
|
| boolean | requiresDeviceIdle
Idle constraint for report sending
|
| com.evernote.android.job.JobRequest.NetworkType | requiresNetworkType
Network constraint for report sending
|
| boolean | restartAfterCrash
Restarts the last activity immediately after a crash.
|
-
public static final[String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")EXTRA_APP_RESTARTED
-
[@NonNull](http://d.android.com/reference/android/support/annotation/NonNull.html?is-external=true "class or interface in android.support.annotation")public abstract com.evernote.android.job.JobRequest.NetworkType requiresNetworkType
Network constraint for report sending Returns:networkType required to allow report sendingSince:5.2.0Default:com.evernote.android.job.JobRequest.NetworkType.ANY
public abstract boolean requiresCharging
Charging constraint for report sending Returns:if reports should only be sent while chargingSince:5.2.0Default:false
public abstract boolean requiresDeviceIdle
Idle constraint for report sending Returns:if reports should only be sent while the device is idleSince:5.2.0Default:false
public abstract boolean requiresBatteryNotLow
Battery constraint for report sending Returns:if reports should only be sent while battery isn't lowSince:5.2.0Default:false
public abstract boolean restartAfterCrash
Restarts the last activity immediately after a crash. If an activity is restarted, the EXTRA_APP_RESTARTED extra will contain a boolean true. Note that this might interact badly with the crash dialog.
Returns:if acra should attempt to restart the app after a crashSince:5.2.0Default:false