SchedulerConfigurationBuilder

class SchedulerConfigurationBuilder

Functions

build
Link copied to clipboard
fun build(): SchedulerConfiguration
withEnabled
Link copied to clipboard
fun withEnabled(enabled: Boolean): SchedulerConfigurationBuilder
withRequiresBatteryNotLow
Link copied to clipboard
fun withRequiresBatteryNotLow(requiresBatteryNotLow: Boolean): SchedulerConfigurationBuilder
withRequiresCharging
Link copied to clipboard
fun withRequiresCharging(requiresCharging: Boolean): SchedulerConfigurationBuilder
withRequiresDeviceIdle
Link copied to clipboard
fun withRequiresDeviceIdle(requiresDeviceIdle: Boolean): SchedulerConfigurationBuilder
withRequiresNetworkType
Link copied to clipboard
fun withRequiresNetworkType(requiresNetworkType: Int): SchedulerConfigurationBuilder
withRestartAfterCrash
Link copied to clipboard
fun withRestartAfterCrash(restartAfterCrash: Boolean): SchedulerConfigurationBuilder

Properties

enabled
Link copied to clipboard
var enabled: Boolean?
requiresBatteryNotLow
Link copied to clipboard
var requiresBatteryNotLow: Boolean?
requiresCharging
Link copied to clipboard
var requiresCharging: Boolean?
requiresDeviceIdle
Link copied to clipboard
var requiresDeviceIdle: Boolean?
requiresNetworkType
Link copied to clipboard
var requiresNetworkType: Int?
restartAfterCrash
Link copied to clipboard
var restartAfterCrash: Boolean?