onRepeatEvent abstract method

void onRepeatEvent(
  1. DateTime timestamp
)

Called by eventAction in ForegroundTaskOptions.

  • nothing() : Not use onRepeatEvent callback.
  • once() : Call onRepeatEvent only once.
  • repeat(interval) : Call onRepeatEvent at milliseconds interval.

Implementation

void onRepeatEvent(DateTime timestamp);