SchedulerConfiguration

class SchedulerConfiguration(val enabled: Boolean = true, val requiresNetworkType: Int = JobInfo.NETWORK_TYPE_NONE, val requiresCharging: Boolean = false, val requiresDeviceIdle: Boolean = false, val requiresBatteryNotLow: Boolean = false, val restartAfterCrash: Boolean = false) : Configuration

Author

F43nd1r

Since

18.04.18

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, requiresNetworkType: Int = JobInfo.NETWORK_TYPE_NONE, requiresCharging: Boolean = false, requiresDeviceIdle: Boolean = false, requiresBatteryNotLow: Boolean = false, restartAfterCrash: Boolean = false)

Properties

Link copied to clipboard
val enabled: Boolean = true

enables this plugin

Link copied to clipboard

Battery constraint for report sending

Link copied to clipboard

Charging constraint for report sending

Link copied to clipboard

Idle constraint for report sending

Link copied to clipboard

Network constraint for report sending

Link copied to clipboard

Restarts the last activity immediately after a crash. If an activity is restarted, the org.acra.scheduler.RestartingAdministrator.EXTRA_ACTIVITY_RESTART_AFTER_CRASH extra will contain a boolean true. Note that this might interact badly with the crash dialog.

Functions

Link copied to clipboard
open override fun enabled(): Boolean