BackgroundFetchConfig constructor
BackgroundFetchConfig({})
Creates an instance of BackgroundFetchConfig
to provide to configure
.
Implementation
BackgroundFetchConfig(
{required this.minimumFetchInterval,
bool? stopOnTerminate,
bool? startOnBoot,
bool? enableHeadless,
bool? forceAlarmManager,
NetworkType? requiredNetworkType,
bool? requiresBatteryNotLow,
bool? requiresStorageNotLow,
bool? requiresCharging,
bool? requiresDeviceIdle})
: super(
stopOnTerminate: stopOnTerminate,
startOnBoot: startOnBoot,
enableHeadless: enableHeadless,
forceAlarmManager: forceAlarmManager,
requiredNetworkType: requiredNetworkType,
requiresBatteryNotLow: requiresBatteryNotLow,
requiresStorageNotLow: requiresStorageNotLow,
requiresCharging: requiresCharging,
requiresDeviceIdle: requiresDeviceIdle);