AndroidConfig constructor
const
AndroidConfig({
- String channelName = 'Background Tracking',
- String notificationBody = 'Background tracking active. Tap to open.',
- String? notificationIcon,
- bool enableNotificationLocationUpdates = false,
- String cancelTrackingActionText = 'Stop Tracking',
- bool enableCancelTrackingAction = true,
- Duration trackingInterval = const Duration(seconds: 10),
- double? distanceFilterMeters,
Implementation
const AndroidConfig({
this.channelName = 'Background Tracking',
this.notificationBody = 'Background tracking active. Tap to open.',
this.notificationIcon,
this.enableNotificationLocationUpdates = false,
this.cancelTrackingActionText = 'Stop Tracking',
this.enableCancelTrackingAction = true,
this.trackingInterval = const Duration(seconds: 10),
this.distanceFilterMeters,
});