onRepeatEvent method

  1. @override
Future<void> onRepeatEvent(
  1. DateTime timestamp,
  2. SendPort? sendPort
)
override

Called every interval milliseconds in ForegroundTaskOptions.

Implementation

@override
Future<void> onRepeatEvent(DateTime timestamp, SendPort? sendPort) async {
  // This is required by TaskHandler but we'll use streaming updates instead
  // No action needed here as we're using the position stream
}