BackgroundLocationConfig constructor
const
BackgroundLocationConfig({
- int intervalMinutes = 1,
- LocationAccuracy accuracy = LocationAccuracy.high,
- String notificationChannelId = 'flutter_background_location_channel',
- String notificationTitle = 'Location tracking',
- String notificationBody = 'Recording your position.',
- int retentionDays = 0,
- int maxRecords = 0,
- String? databasePath,
Implementation
const BackgroundLocationConfig({
this.intervalMinutes = 1,
this.accuracy = LocationAccuracy.high,
this.notificationChannelId = 'flutter_background_location_channel',
this.notificationTitle = 'Location tracking',
this.notificationBody = 'Recording your position.',
this.retentionDays = 0,
this.maxRecords = 0,
this.databasePath,
});