Back to Acra

AcraScheduler

web/static/javadoc/5.2.1/org/acra/annotation/AcraScheduler.html

latest5.4 KB
Original Source

Skip navigation links

org.acra.annotation

Annotation Type AcraScheduler


[@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

Field Summary

Fields | Modifier and Type | Fields and Description | | --- | --- | | static String | EXTRA_APP_RESTARTED |

Optional Element Summary

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. |

Field Detail

- 

EXTRA_APP_RESTARTED

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

Element Detail

- 

requiresNetworkType

[@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

requiresCharging

public abstract boolean requiresCharging

Charging constraint for report sending Returns:if reports should only be sent while chargingSince:5.2.0Default:false

requiresDeviceIdle

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

requiresBatteryNotLow

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

restartAfterCrash

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

Skip navigation links