AndroidConfiguration constructor

AndroidConfiguration({
  1. required dynamic onStart(
    1. ServiceInstance service
    ),
  2. bool autoStart = true,
  3. bool autoStartOnBoot = true,
  4. required bool isForegroundMode,
  5. required String currentDay,
  6. required String currentJalaliDate,
  7. required String currentMiladiDate,
  8. required String currentHijriDate,
  9. String? notificationChannelId,
  10. int foregroundServiceNotificationId = 112233,
})

Implementation

AndroidConfiguration({
  required this.onStart,
  this.autoStart = true,
  this.autoStartOnBoot = true,
  required this.isForegroundMode,
  required this.currentDay,
  required this.currentJalaliDate,
  required this.currentMiladiDate,
  required this.currentHijriDate,
  this.notificationChannelId,
  this.foregroundServiceNotificationId = 112233,
});