SchedulerConfigurationBuilder

class SchedulerConfigurationBuilder(arg0: Context) : ConfigurationBuilder

Class generated based on AcraScheduler (Jun 1, 2021 1:43:50 PM)

Constructors

SchedulerConfigurationBuilder
Link copied to clipboard
fun SchedulerConfigurationBuilder(arg0: Context)

Functions

build
Link copied to clipboard
open override fun build(): SchedulerConfiguration
withEnabled
Link copied to clipboard
fun withEnabled(enabled: Boolean): SchedulerConfigurationBuilder
withRequiresBatteryNotLow
Link copied to clipboard
fun withRequiresBatteryNotLow(requiresBatteryNotLow: Boolean): SchedulerConfigurationBuilder
Battery constraint for report sending
withRequiresCharging
Link copied to clipboard
fun withRequiresCharging(requiresCharging: Boolean): SchedulerConfigurationBuilder
Charging constraint for report sending
withRequiresDeviceIdle
Link copied to clipboard
fun withRequiresDeviceIdle(requiresDeviceIdle: Boolean): SchedulerConfigurationBuilder
Idle constraint for report sending
withRequiresNetworkType
Link copied to clipboard
fun withRequiresNetworkType(requiresNetworkType: Int): SchedulerConfigurationBuilder
Network constraint for report sending
withRestartAfterCrash
Link copied to clipboard
fun withRestartAfterCrash(restartAfterCrash: Boolean): SchedulerConfigurationBuilder
Restarts the last activity immediately after a crash.

Properties

context
Link copied to clipboard
var context: Context
enabled
Link copied to clipboard
var enabled: Boolean
requiresBatteryNotLow
Link copied to clipboard
var requiresBatteryNotLow: Boolean
Battery constraint for report sending
requiresCharging
Link copied to clipboard
var requiresCharging: Boolean
Charging constraint for report sending
requiresDeviceIdle
Link copied to clipboard
var requiresDeviceIdle: Boolean
Idle constraint for report sending
requiresNetworkType
Link copied to clipboard
var requiresNetworkType: Int
Network constraint for report sending
restartAfterCrash
Link copied to clipboard
var restartAfterCrash: Boolean
Restarts the last activity immediately after a crash.