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
fun SchedulerConfiguration(    enabled: Boolean = true,     requiresNetworkType: Int = JobInfo.NETWORK_TYPE_NONE,     requiresCharging: Boolean = false,     requiresDeviceIdle: Boolean = false,     requiresBatteryNotLow: Boolean = false,     restartAfterCrash: Boolean = false)

Functions

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

Properties

Link copied to clipboard
val enabled: Boolean = true

enables this plugin

Link copied to clipboard
val requiresBatteryNotLow: Boolean = false

Battery constraint for report sending

Link copied to clipboard
val requiresCharging: Boolean = false

Charging constraint for report sending

Link copied to clipboard
val requiresDeviceIdle: Boolean = false

Idle constraint for report sending

Link copied to clipboard
val requiresNetworkType: Int

Network constraint for report sending

Link copied to clipboard
val restartAfterCrash: Boolean = false

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.