@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface AcraScheduler
Modifier and Type | Fields and Description |
---|---|
static String |
EXTRA_APP_RESTARTED |
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 EXTRA_APP_RESTARTED
@NonNull public abstract com.evernote.android.job.JobRequest.NetworkType requiresNetworkType
public abstract boolean requiresCharging
public abstract boolean requiresDeviceIdle
public abstract boolean requiresBatteryNotLow
public abstract boolean restartAfterCrash
EXTRA_APP_RESTARTED
extra will contain a boolean true.
Note that this might interact badly with the crash dialog.