BackgroundConfig constructor

BackgroundConfig({
  1. String? notificationChannelId,
  2. String? notificationChannelName,
  3. String? notificationDescription,
  4. String? notificationChannelDescription,
  5. String? notificationIcon,
  6. String? notificationTitle,
  7. bool enableForegroundService = false,
  8. bool wakeLock = false,
  9. bool wifiLock = false,
  10. bool autoStartOnBoot = false,
  11. int intervalMs = 5000,
  12. bool keepAlive = true,
})

Implementation

BackgroundConfig({
  this.notificationChannelId,
  this.notificationChannelName,
  this.notificationDescription,
  this.notificationChannelDescription,
  this.notificationIcon,
  this.notificationTitle,
  this.enableForegroundService = false,
  this.wakeLock = false,
  this.wifiLock = false,
  this.autoStartOnBoot = false,
  this.intervalMs = 5000,
  this.keepAlive = true,
});